[gnome-shell] unlockDialog: fix another occurrence of add_watch => add_idle_watch



commit f514160faee6a61b03324db714d5a560aa145f22
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Feb 15 12:19:49 2013 -0500

    unlockDialog: fix another occurrence of add_watch => add_idle_watch
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693909

 js/ui/unlockDialog.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js
index b11f1ec..f1efe5c 100644
--- a/js/ui/unlockDialog.js
+++ b/js/ui/unlockDialog.js
@@ -229,7 +229,7 @@ const UnlockDialog = new Lang.Class({
         Main.ctrlAltTabManager.addGroup(this.dialogLayout, _("Unlock Window"), 'dialog-password-symbolic');
 
         this._idleMonitor = new GnomeDesktop.IdleMonitor();
-        this._idleWatchId = this._idleMonitor.add_watch(IDLE_TIMEOUT * 1000, Lang.bind(this, this._escape));
+        this._idleWatchId = this._idleMonitor.add_idle_watch(IDLE_TIMEOUT * 1000, Lang.bind(this, 
this._escape));
     },
 
     _updateSensitivity: function(sensitive) {



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