From 5d487fc95cddaa56763ffc6e135c7ffe30788c64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 9 Jun 2024 13:16:06 +0200 Subject: [PATCH] Addons: Hide status icon on startup until Geany has started This avoids showing the status icon without an icon on startup and even if it is disabled while Geany is starting. --- addons/src/ao_systray.c | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/src/ao_systray.c b/addons/src/ao_systray.c index f0e7f9083..6a283423d 100644 --- a/addons/src/ao_systray.c +++ b/addons/src/ao_systray.c @@ -189,6 +189,7 @@ static void ao_systray_init(AoSystray *self) const gchar *icon_name; priv->icon = gtk_status_icon_new(); + gtk_status_icon_set_visible(priv->icon, FALSE); icon_name = gtk_window_get_icon_name(GTK_WINDOW(geany->main_widgets->window)); if (icon_name) /* Geany >= 1.23 */ gtk_status_icon_set_from_icon_name(priv->icon, icon_name);