diff options
Diffstat (limited to 'drivemount/src/drivemount.c')
-rw-r--r-- | drivemount/src/drivemount.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/drivemount/src/drivemount.c b/drivemount/src/drivemount.c index d6a77f20..408c7645 100644 --- a/drivemount/src/drivemount.c +++ b/drivemount/src/drivemount.c @@ -118,7 +118,7 @@ display_about_dialog (GtkAction *action, "title", _("About Disk Mounter"), "version", VERSION, "copyright", _("Copyright \xC2\xA9 2004 Canonical Ltd\n" - "Copyright \xc2\xa9 2012-2020 MATE developers"), + "Copyright \xc2\xa9 2012-2021 MATE developers"), "comments", _("Applet for mounting and unmounting block volumes."), "authors", authors, "documenters", documenters, @@ -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) |