[gnome-shell/wip/flashback: 1/4] acquire 4 more dbus names



commit 95034d22d0cbfb358ba17c8f4ca21bc6ceeb6e47
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Dec 14 00:41:23 2014 +0200

    acquire 4 more dbus names
    
    org.gnome.Shell.KeyGrabber, org.gnome.Shell.OSD,
    org.gnome.Shell.Screencast, org.gnome.Shell.Screenshot

 src/main.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 65617d9..d4c7bdf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -32,6 +32,10 @@
 extern GType gnome_shell_plugin_get_type (void);
 
 #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 +163,10 @@ shell_dbus_init (gboolean replace)
                             MAGNIFIER_DBUS_SERVICE, FALSE,
   /* ...and the org.freedesktop.Notifications service. */
                             "org.freedesktop.Notifications", FALSE,
+                            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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]