summaryrefslogtreecommitdiff
path: root/accessx-status/src/applet.c
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2023-07-11 21:28:01 -0400
committerraveit65 <[email protected]>2023-07-17 02:47:28 +0200
commit08bb8398e0d218daaefdfe95c44940e370802508 (patch)
tree0c567b638dd31d831141a2ca4ef355a406883e08 /accessx-status/src/applet.c
parentf94afff3bd198dca2412a75053e122c55b4b48dd (diff)
downloadmate-applets-08bb8398e0d218daaefdfe95c44940e370802508.tar.bz2
mate-applets-08bb8398e0d218daaefdfe95c44940e370802508.tar.xz
Allow building all applets in or out of process
*Use --enable-in-process selector for in-process builds *Accessx-status: mark as incompatable with wayland *Accessx-status: Fix in-process runtime warning *Stickynote, Geyes: style fixes
Diffstat (limited to 'accessx-status/src/applet.c')
-rw-r--r--accessx-status/src/applet.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/accessx-status/src/applet.c b/accessx-status/src/applet.c
index 88239c7f..dd3e6cc9 100644
--- a/accessx-status/src/applet.c
+++ b/accessx-status/src/applet.c
@@ -1316,7 +1316,9 @@ create_applet (MatePanelApplet* applet)
GtkIconTheme *icon_theme;
gint icon_size, icon_scale;
+#ifndef ENABLE_IN_PROCESS
g_set_application_name (_("AccessX Status"));
+#endif
sapplet->xkb = NULL;
sapplet->xkb_display = NULL;
@@ -1633,9 +1635,9 @@ accessx_status_applet_fill (MatePanelApplet* applet)
}
g_object_connect (sapplet->applet,
- "destroy", accessx_status_applet_destroy, sapplet,
- "change-orient", accessx_status_applet_reorient, sapplet,
- "change-size", accessx_status_applet_resize, sapplet,
+ "signal::destroy", accessx_status_applet_destroy, sapplet,
+ "signal::change-orient", accessx_status_applet_reorient, sapplet,
+ "signal::change-size", accessx_status_applet_resize, sapplet,
NULL);
g_signal_connect (sapplet->applet, "button-press-event",
@@ -1697,9 +1699,9 @@ accessx_status_applet_factory (MatePanelApplet* applet,
return retval;
}
-MATE_PANEL_APPLET_OUT_PROCESS_FACTORY ("AccessxStatusAppletFactory",
- PANEL_TYPE_APPLET,
- "accessx-status",
- accessx_status_applet_factory,
- NULL)
+PANEL_APPLET_FACTORY ("AccessxStatusAppletFactory",
+ PANEL_TYPE_APPLET,
+ "accessx-status",
+ accessx_status_applet_factory,
+ NULL)