[gnome-shell] shellDBus: Fix SetActive(false) for ScreenSaver DBus API



commit 512f0a67fbf43d9add796f12663708823fa5dafe
Author: Colin Walters <walters verbum org>
Date:   Mon Mar 25 16:32:15 2013 -0400

    shellDBus: Fix SetActive(false) for ScreenSaver DBus API
    
    Someone changed .unlock() to deactivate() for the obvious symmetry
    with activate(), but forgot to update it here.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696585

 js/ui/shellDBus.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js
index 1fc0500..727792c 100644
--- a/js/ui/shellDBus.js
+++ b/js/ui/shellDBus.js
@@ -397,7 +397,7 @@ const ScreenSaverDBus = new Lang.Class({
         if (active)
             this._screenShield.activate(true);
         else
-            this._screenShield.unlock(false);
+            this._screenShield.deactivate(false);
     },
 
     GetActive: function() {


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