[gnome-shell/gnome-3-10] system: Fix orientation lock never appearing



commit 17c9f88d8785faa103b9a838e17abaf8ba1950cc
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jul 21 14:34:21 2014 +0200

    system: Fix orientation lock never appearing
    
    Typos meant that the orientation service was never detected as running
    and that the orientation lock menu item didn't appear.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733498

 js/ui/status/system.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/status/system.js b/js/ui/status/system.js
index 665fe36..3bca67d 100644
--- a/js/ui/status/system.js
+++ b/js/ui/status/system.js
@@ -148,11 +148,11 @@ const Indicator = new Lang.Class({
         Gio.DBus.session.watch_name('org.gnome.SettingsDaemon.Orientation',
                                     Gio.BusNameWatcherFlags.NONE,
                                     Lang.bind(this, function() {
-                                        this._orentationExists = true;
+                                        this._orientationExists = true;
                                         this._updateOrientationLock();
                                     }),
                                     Lang.bind(this, function() {
-                                        this._orentationExists = false;
+                                        this._orientationExists = false;
                                         this._updateOrientationLock();
                                     }));
         this._updateOrientationLock();


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