aboutsummaryrefslogtreecommitdiffstats
path: root/s2u.c
diff options
context:
space:
mode:
Diffstat (limited to 's2u.c')
-rw-r--r--s2u.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/s2u.c b/s2u.c
index 547b8f9..06b55fb 100644
--- a/s2u.c
+++ b/s2u.c
@@ -134,8 +134,18 @@ filter_function (DBusConnection * connection,
g_spawn_async("/", args, NULL, 0, NULL, NULL, NULL, NULL);
return DBUS_HANDLER_RESULT_HANDLED;
- } else
+ } else {
+ if (dbus_message_is_signal (message,
+ "com.mandrakesoft.user",
+ "updatemenu")) {
+
+ g_spawn_command_line_async("/etc/X11/xinit.d/menu", NULL);
+
+ return DBUS_HANDLER_RESULT_HANDLED;
+ }
+ else
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+ }
}