[gnome-documents] notifications, selections, sharing: Replace tabs with spaces



commit ded18de8813a84a4f574a5c41a73da7df25e55dc
Author: Alessandro Bono <shadow openaliasbox org>
Date:   Mon Aug 31 01:00:34 2015 +0200

    notifications, selections, sharing: Replace tabs with spaces
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754333

 src/notifications.js |    2 +-
 src/selections.js    |   20 ++++++++++----------
 src/sharing.js       |    6 +++---
 3 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/notifications.js b/src/notifications.js
index 2f261c2..77ade90 100644
--- a/src/notifications.js
+++ b/src/notifications.js
@@ -164,7 +164,7 @@ const PrintNotification = new Lang.Class({
 
         let status = this._printOp.get_status();
         let fraction = this._printOp.get_progress();
-       status = _("Printing ā€œ%sā€: %s").format(this._doc.name, status);
+        status = _("Printing ā€œ%sā€: %s").format(this._doc.name, status);
 
         this._statusLabel.set_text(status);
         this._progressBar.fraction = fraction;
diff --git a/src/selections.js b/src/selections.js
index 2d9382a..ff2abe8 100644
--- a/src/selections.js
+++ b/src/selections.js
@@ -526,14 +526,14 @@ const CollectionList = new Lang.Class({
         this.connect('destroy', Lang.bind(this,
             function() {
                 let rows = this.get_children();
-               rows.forEach(function(row) {
-                   let currentView = row.views.get_visible_child_name();
-                   if (currentView == CollectionRowViews.DELETE) {
-                       row.deleteCollection();
-                   }
+                rows.forEach(function(row) {
+                    let currentView = row.views.get_visible_child_name();
+                    if (currentView == CollectionRowViews.DELETE) {
+                        row.deleteCollection();
+                    }
                 });
-               Application.documentManager.disconnect(collAddedId);
-               Application.documentManager.disconnect(collRemovedId);
+                Application.documentManager.disconnect(collAddedId);
+                Application.documentManager.disconnect(collRemovedId);
             }));
 
         // populate the list
@@ -754,9 +754,9 @@ const OrganizeCollectionDialog = new Lang.Class({
             this._addButtonEmpty.grab_default();
         } else {
             this._content.set_visible_child(this._viewCollections);
-           this._addEntryCollections.grab_focus();
-           this._addButtonCollections.grab_default();
-       }
+            this._addEntryCollections.grab_focus();
+            this._addButtonCollections.grab_default();
+        }
     },
 
     _setRenameMode: function(renameMode) {
diff --git a/src/sharing.js b/src/sharing.js
index 22f371f..9af15ab 100644
--- a/src/sharing.js
+++ b/src/sharing.js
@@ -343,9 +343,9 @@ const SharingDialog = new Lang.Class({
                 try {
                     this._feed = this._service.query_finish(result);
                     this._getScopeRulesEntry();
-               } catch(e) {
+                } catch(e) {
                     log("Error getting ACL Feed " + e.message);
-               }
+                }
             }));
     },
 
@@ -472,7 +472,7 @@ const SharingDialog = new Lang.Class({
                     } catch(e) {
                         log("Error inserting new ACL rule " + e.message);
                         this._showErrorDialog(_("The document was not updated"));
-                   }
+                    }
                 }));
     },
 


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