[gnome-maps] notificationManager: Remove disconectAll call



commit f93a5be9e0191fa9971a2a9af06aafb450864e2f
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Wed Dec 3 20:23:08 2014 +0100

    notificationManager: Remove disconectAll call

 src/notificationManager.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/notificationManager.js b/src/notificationManager.js
index 4a2df14..d7d1c2e 100644
--- a/src/notificationManager.js
+++ b/src/notificationManager.js
@@ -45,9 +45,9 @@ const NotificationManager = new Lang.Class({
         if(notification.get_parent() !== this._overlay) {
             this._overlay.add_overlay(notification);
 
-            notification.connect('dismissed', (function() {
+            let dismissId = notification.connect('dismissed', (function() {
                 this._overlay.remove(notification);
-                notification.disconnectAll();
+                notification.disconnect(dismissId);
             }).bind(this));
         }
         notification.reveal();


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