[gnome-shell-extensions] window-list: fix regression from StBoxLayout refactoring



commit ec8f2691071f19b4f5cb731a8079c1c1ae8c6e54
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Tue Sep 3 10:34:13 2013 +0200

    window-list: fix regression from StBoxLayout refactoring
    
    Make sure that the workspace indicator is always packed at the
    end of the window list

 extensions/window-list/extension.js |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js
index 08be65a..493f948 100644
--- a/extensions/window-list/extension.js
+++ b/extensions/window-list/extension.js
@@ -726,14 +726,17 @@ const WindowList = new Lang.Class({
                 }
             }));
 
+       let indicatorsBox = new St.BoxLayout();
+       box.add(indicatorsBox);
+
         this._workspaceIndicator = new WorkspaceIndicator();
-        box.add(this._workspaceIndicator.container);
+        indicatorsBox.add(this._workspaceIndicator.container, { expand: false, y_fill: false });
 
         this._menuManager = new PopupMenu.PopupMenuManager(this);
         this._menuManager.addMenu(this._workspaceIndicator.menu);
 
         this._trayButton = new TrayButton();
-        box.add(this._trayButton.actor);
+        indicatorsBox.add(this._trayButton.actor, { expand: false });
 
         Main.layoutManager.addChrome(this.actor, { affectsStruts: true,
                                                    trackFullscreen: true });


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