aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--s2u.c2
-rw-r--r--s2u.spec3
2 files changed, 4 insertions, 1 deletions
diff --git a/s2u.c b/s2u.c
index 06b55fb..9e8f30e 100644
--- a/s2u.c
+++ b/s2u.c
@@ -139,6 +139,8 @@ filter_function (DBusConnection * connection,
"com.mandrakesoft.user",
"updatemenu")) {
+ g_print("updatemenu signal received\n");
+
g_spawn_command_line_async("/etc/X11/xinit.d/menu", NULL);
return DBUS_HANDLER_RESULT_HANDLED;
diff --git a/s2u.spec b/s2u.spec
index 5177170..0667234 100644
--- a/s2u.spec
+++ b/s2u.spec
@@ -9,7 +9,7 @@ Group: Graphical desktop/Other
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: dbus-devel
BuildRequires: gtk+2-devel
-Requires: dbus-x11 dbus
+Requires: dbus
Requires: initscripts >= 7.06-52mdk
%description
@@ -41,6 +41,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Mar 09 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 0.5-3mdk
- add new signal to start update-menus if requested by system
+- remove dbus-x11 requires
* Tue Mar 08 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 0.5-2mdk
- connect to X server, so s2u exits when X exits