From 4cb41578023d9d0668b19b23fc2c6483c7a73a36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberts=20Muktup=C4=81vels?= Date: Sun, 14 Dec 2014 00:41:23 +0200 Subject: [PATCH] acquire 5 more dbus names org.gnome.Shell.KeyGrabber, org.gnome.Shell.OSD, org.gnome.Shell.Screencast, org.gnome.Shell.Screenshot, org.gnome.SessionManager.EndSessionDialog --- src/main.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main.c b/src/main.c index 65617d98f..30a6474a1 100644 --- a/src/main.c +++ b/src/main.c @@ -31,7 +31,12 @@ extern GType gnome_shell_plugin_get_type (void); +#define END_SESSION_DIALOG_DBUS_SERVICE "org.gnome.SessionManager.EndSessionDialog" #define SHELL_DBUS_SERVICE "org.gnome.Shell" +#define SHELL_KEY_GRABBER_DBUS_SERVICE "org.gnome.Shell.KeyGrabber" +#define SHELL_OSD_DBUS_SERVICE "org.gnome.Shell.OSD" +#define SHELL_SCREENCAST_DBUS_SERVICE "org.gnome.Shell.Screencast" +#define SHELL_SCREENSHOT_DBUS_SERVICE "org.gnome.Shell.Screenshot" #define MAGNIFIER_DBUS_SERVICE "org.gnome.Magnifier" #define OVERRIDES_SCHEMA "org.gnome.shell.overrides" @@ -159,6 +164,11 @@ shell_dbus_init (gboolean replace) MAGNIFIER_DBUS_SERVICE, FALSE, /* ...and the org.freedesktop.Notifications service. */ "org.freedesktop.Notifications", FALSE, + END_SESSION_DIALOG_DBUS_SERVICE, TRUE, + SHELL_KEY_GRABBER_DBUS_SERVICE, TRUE, + SHELL_OSD_DBUS_SERVICE, TRUE, + SHELL_SCREENCAST_DBUS_SERVICE, TRUE, + SHELL_SCREENSHOT_DBUS_SERVICE, TRUE, NULL); /* ...and the on-screen keyboard service */ shell_dbus_acquire_name (bus,