diff options
| author | Balló György <[email protected]> | 2026-10-20 13:58:34 +0200 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-10-20 13:09:46 -0400 |
| commit | e4b07e6171d7adc405a918602a0971c7210c34a8 (patch) | |
| tree | a8fa553eee6e64e665fd2b30c4a0f1759f44e88b /netspeed/src | |
| parent | d22877daff84a004fb555274afcff9e1675fa220 (diff) | |
| download | mate-applets-master.tar.bz2 mate-applets-master.tar.xz | |
Setting the default icon name causes that it's applied globally to all
newly opened windows in the process, not just for the applet's windows,
so it cannot be used if the applets are built as in-process.
Diffstat (limited to 'netspeed/src')
| -rw-r--r-- | netspeed/src/netspeed.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/netspeed/src/netspeed.c b/netspeed/src/netspeed.c index 01ebf29fb..e89dabcb0 100644 --- a/netspeed/src/netspeed.c +++ b/netspeed/src/netspeed.c @@ -218,9 +218,6 @@ change_icons (NetspeedApplet *netspeed) OUT_ICON, 16, icon_scale, NULL, 0, NULL); - /* Set the windowmanager icon for the applet */ - gtk_window_set_default_icon_name (LOGO_ICON); - gtk_image_set_from_surface (GTK_IMAGE (netspeed->out_pix), out_arrow); gtk_image_set_from_surface (GTK_IMAGE (netspeed->in_pix), in_arrow); cairo_surface_destroy (in_arrow); @@ -1581,6 +1578,7 @@ netspeed_applet_factory (MatePanelApplet *applet, #ifndef ENABLE_IN_PROCESS g_set_application_name (_("MATE Netspeed")); + gtk_window_set_default_icon_name (LOGO_ICON); #endif netspeed = NETSPEED_APPLET (applet); |
