[gnome-shell] notificationDaemon: Fix clicks on legacy icons



commit 13170fbb3cdf243b63a3f8fdb385bbeeb9e311e4
Author: Florian Müllner <fmuellner gnome org>
Date:   Fri Jul 12 16:47:57 2013 +0200

    notificationDaemon: Fix clicks on legacy icons
    
    Jasper removed the ShellGlobal:stage-input-mode property after its
    "last" use was removed. Adapt the (hopefully) really last use of the
    property to the recent input changes.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704095

 js/ui/notificationDaemon.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index dec7406..1a49827 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -717,8 +717,8 @@ const Source = new Lang.Class({
             this.notifications.length > 0)
             return false;
 
-        let id = global.connect('notify::stage-input-mode', Lang.bind(this, function () {
-            global.disconnect(id);
+        let id = global.stage.connect('deactivate', Lang.bind(this, function () {
+            global.stage.disconnect(id);
             this.trayIcon.click(event);
         }));
 


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