[gnome-maps] Minor coding-style fixes



commit ff529f0e0a3343be24b051ea91cfdaad9087727e
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Jul 31 03:34:41 2013 +0300

    Minor coding-style fixes

 src/mainWindow.js |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index d847029..a8031ad 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -117,22 +117,23 @@ const MainWindow = new Lang.Class({
     },
 
     _connectMapMove: function() {
-        if(this._viewMovedId === 0) {
+        if (this._viewMovedId === 0) {
             this._viewMovedId = this.mapView.connect('view-moved', (function() {
                 if (!this.mapView.userLocationVisible())
                     Application.settings.set_boolean('track-user-location', false);
             }).bind(this));
         }
     },
+
     _disconnectMapMove: function() {
-        if(this._viewMovedId !== 0) {
+        if (this._viewMovedId !== 0) {
             this.mapView.disconnect(this._viewMovedId);
             this._viewMovedId = 0;
         }
     },
 
     _onUserLocationChanged: function() {
-        if(Application.settings.get_boolean('track-user-location')) {
+        if (Application.settings.get_boolean('track-user-location')) {
             this.mapView.gotoUserLocation(true);
         }
     },


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