summaryrefslogtreecommitdiff
path: root/timerapplet/src/timerapplet.c
diff options
context:
space:
mode:
Diffstat (limited to 'timerapplet/src/timerapplet.c')
-rw-r--r--timerapplet/src/timerapplet.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/timerapplet/src/timerapplet.c b/timerapplet/src/timerapplet.c
index f2fcfc1e..2c397b16 100644
--- a/timerapplet/src/timerapplet.c
+++ b/timerapplet/src/timerapplet.c
@@ -376,6 +376,9 @@ timer_applet_fill (MatePanelApplet* applet_widget)
TimerApplet *applet;
AtkObject *atk_obj;
+#ifndef ENABLE_IN_PROCESS
+ g_set_application_name (_("Timer Applet"));
+#endif
gtk_window_set_default_icon_name (APPLET_ICON);
if (!notify_is_initted ())
@@ -456,8 +459,8 @@ timer_factory (MatePanelApplet* applet, const char* iid, gpointer data)
}
/* needed by mate-panel applet library */
-MATE_PANEL_APPLET_IN_PROCESS_FACTORY("TimerAppletFactory",
- PANEL_TYPE_APPLET,
- "Timer applet",
- timer_factory,
- NULL)
+PANEL_APPLET_FACTORY ("TimerAppletFactory",
+ PANEL_TYPE_APPLET,
+ "Timer applet",
+ timer_factory,
+ NULL)