From 13170fbb3cdf243b63a3f8fdb385bbeeb9e311e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 12 Jul 2013 16:47:57 +0200 Subject: [PATCH] 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 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index dec74064d..1a49827a0 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); }));