Skip to content

Commit

Permalink
Merge pull request #1359 from eht16/addons_hide_statusicon_on_startup
Browse files Browse the repository at this point in the history
Addons: Hide status icon on startup until Geany has started
  • Loading branch information
eht16 authored Jun 23, 2024
2 parents 820fd93 + 5d487fc commit f1b1bbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/src/ao_systray.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,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);
Expand Down

0 comments on commit f1b1bbf

Please sign in to comment.