summaryrefslogtreecommitdiff
path: root/drivemount/src/drivemount.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivemount/src/drivemount.c')
-rw-r--r--drivemount/src/drivemount.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/drivemount/src/drivemount.c b/drivemount/src/drivemount.c
index fa2857a1..408c7645 100644
--- a/drivemount/src/drivemount.c
+++ b/drivemount/src/drivemount.c
@@ -179,7 +179,9 @@ applet_factory (MatePanelApplet *applet,
GtkActionGroup *action_group;
if (!strcmp (iid, drivemount_iid)) {
+#ifndef ENABLE_IN_PROCESS
g_set_application_name (_("Disk Mounter"));
+#endif
gtk_window_set_default_icon_name ("media-floppy");
@@ -189,11 +191,11 @@ applet_factory (MatePanelApplet *applet,
gtk_container_add (GTK_CONTAINER (applet), drive_list);
- g_signal_connect_object (applet, "change_orient",
+ g_signal_connect_object (applet, "change-orient",
G_CALLBACK (change_orient), drive_list, 0);
- g_signal_connect_object (applet, "size_allocate",
+ g_signal_connect_object (applet, "size-allocate",
G_CALLBACK (size_allocate), drive_list, 0);
- g_signal_connect (applet, "change_background",
+ g_signal_connect (applet, "change-background",
G_CALLBACK (change_background), drive_list);
/* set initial state */
@@ -223,8 +225,7 @@ applet_factory (MatePanelApplet *applet,
return ret;
}
-MATE_PANEL_APPLET_OUT_PROCESS_FACTORY (factory_iid,
- PANEL_TYPE_APPLET,
- "Drive-Mount-Applet",
- applet_factory, NULL)
-
+PANEL_APPLET_FACTORY (factory_iid,
+ PANEL_TYPE_APPLET,
+ "Drive-Mount-Applet",
+ applet_factory, NULL)