diff options
Diffstat (limited to 'battstat/battstat_applet.c')
-rw-r--r-- | battstat/battstat_applet.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c index 2afe96f4..07203996 100644 --- a/battstat/battstat_applet.c +++ b/battstat/battstat_applet.c @@ -1130,6 +1130,10 @@ battstat_applet_fill (MatePanelApplet *applet) if (DEBUG) g_print ("main ()\n"); +#ifndef ENABLE_IN_PROCESS + g_set_application_name (_("Battery Charge Monitor")); +#endif + gtk_window_set_default_icon_name ("battery"); mate_panel_applet_set_flags (applet, @@ -1208,9 +1212,8 @@ battstat_applet_factory (MatePanelApplet *applet, return retval; } -MATE_PANEL_APPLET_IN_PROCESS_FACTORY ("BattstatAppletFactory", - PANEL_TYPE_APPLET, - "battstat", - battstat_applet_factory, - NULL) - +PANEL_APPLET_FACTORY ("BattstatAppletFactory", + PANEL_TYPE_APPLET, + "battstat", + battstat_applet_factory, + NULL) |