[the-board] [ui] Move _appendToolbar closer to other toolbar-related methods



commit d20cad47418eeeeb9cf10fb3d9579352d7799c92
Author: Lucas Rocha <lucasr gnome org>
Date:   Tue Feb 8 12:12:38 2011 +0000

    [ui] Move _appendToolbar closer to other toolbar-related methods

 src/js/ui/mainWindow.js |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index f5a2fd6..75d2a6e 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -255,17 +255,6 @@ MainWindow.prototype = {
                           mainWindow: this };
     },
 
-    _appendToolbar : function(toolbar) {
-        toolbar.actor.depth = _LAYER_TOOLBAR;
-
-        this._contentBox.append(toolbar.actor,
-                                Tb.BoxPackFlags.FIXED);
-
-        this._contentBox.set_fixed_child_align(toolbar.actor,
-                                               Tb.BoxAlignment.CENTER,
-                                               Tb.BoxAlignment.START);
-    },
-
     _hideStartupBox : function() {
         if (!this._startupBox) {
             return;
@@ -321,6 +310,17 @@ MainWindow.prototype = {
                            onComplete: Lang.bind(this, onComplete) });
     },
 
+    _appendToolbar : function(toolbar) {
+        toolbar.actor.depth = _LAYER_TOOLBAR;
+
+        this._contentBox.append(toolbar.actor,
+                                Tb.BoxPackFlags.FIXED);
+
+        this._contentBox.set_fixed_child_align(toolbar.actor,
+                                               Tb.BoxAlignment.CENTER,
+                                               Tb.BoxAlignment.START);
+    },
+
     _setActiveToolbar : function(activeToolbar) {
         if (this._activeToolbar == activeToolbar) {
             return;



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