[gnome-documents] notifications: don't queue a check for indexing on creation



commit d0107bdc500d98f412292a6d0bc367eae22bc357
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Feb 6 15:27:14 2013 -0500

    notifications: don't queue a check for indexing on creation
    
    It's not needed, as miners are always started after the notification
    manager is created.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690502

 src/notifications.js |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/src/notifications.js b/src/notifications.js
index feccc9c..ca928f8 100644
--- a/src/notifications.js
+++ b/src/notifications.js
@@ -115,11 +115,6 @@ const IndexingNotification = new Lang.Class({
         }
 
         Application.application.connectJS('miners-changed', Lang.bind(this, this._checkNotification));
-        Mainloop.idle_add(Lang.bind(this,
-            function() {
-                this._checkNotification();
-                return false;
-            }));
     },
 
     _checkNotification: function() {


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