[totem] screenshot: Make flashing work with gnome-shell >= 3.8



commit f0e24ce6957456a54f7c3f391bb27b0c7de578d8
Author: Bastien Nocera <hadess hadess net>
Date:   Fri May 10 14:29:38 2013 +0200

    screenshot: Make flashing work with gnome-shell >= 3.8

 src/plugins/screenshot/totem-screenshot-plugin.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/screenshot/totem-screenshot-plugin.c 
b/src/plugins/screenshot/totem-screenshot-plugin.c
index 83448f0..8c1af60 100644
--- a/src/plugins/screenshot/totem-screenshot-plugin.c
+++ b/src/plugins/screenshot/totem-screenshot-plugin.c
@@ -186,13 +186,13 @@ flash_area (GtkWidget *widget)
                                               G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START,
                                               NULL,
                                               "org.gnome.Shell",
-                                              "/org/gnome/Shell",
-                                              "org.gnome.Shell",
+                                              "/org/gnome/Shell/Screenshot",
+                                              "org.gnome.Shell.Screenshot",
                                               NULL, NULL);
        if (proxy == NULL)
                g_warning ("no proxy");
 
-       g_dbus_proxy_call (proxy, "org.gnome.Shell.FlashArea",
+       g_dbus_proxy_call (proxy, "org.gnome.Shell.Screenshot.FlashArea",
                           g_variant_new ("(iiii)", x, y, w, h),
                           G_DBUS_CALL_FLAGS_NO_AUTO_START,
                           -1,


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