From ec8f2691071f19b4f5cb731a8079c1c1ae8c6e54 Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Tue, 3 Sep 2013 10:34:13 +0200 Subject: [PATCH] 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 file changed, 5 insertions(+), 2 deletions(-) diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index 08be65a2..493f948b 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 });