summaryrefslogtreecommitdiff
path: root/battstat/battstat_applet.c
diff options
context:
space:
mode:
authorBalló György <[email protected]>2026-10-20 13:58:34 +0200
committerVictor Kareh <[email protected]>2026-10-20 13:09:46 -0400
commite4b07e6171d7adc405a918602a0971c7210c34a8 (patch)
treea8fa553eee6e64e665fd2b30c4a0f1759f44e88b /battstat/battstat_applet.c
parentd22877daff84a004fb555274afcff9e1675fa220 (diff)
downloadmate-applets-master.tar.bz2
mate-applets-master.tar.xz
Don't set default icon if build as in-processHEADmaster
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 'battstat/battstat_applet.c')
-rw-r--r--battstat/battstat_applet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c
index 072039960..c100af105 100644
--- a/battstat/battstat_applet.c
+++ b/battstat/battstat_applet.c
@@ -1132,9 +1132,8 @@ battstat_applet_fill (MatePanelApplet *applet)
#ifndef ENABLE_IN_PROCESS
g_set_application_name (_("Battery Charge Monitor"));
-#endif
-
gtk_window_set_default_icon_name ("battery");
+#endif
mate_panel_applet_set_flags (applet,
MATE_PANEL_APPLET_EXPAND_MINOR);