[gnome-shell-extensions] SystemMonitor: left align the indicator container
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] SystemMonitor: left align the indicator container
- Date: Tue, 4 Sep 2012 22:55:10 +0000 (UTC)
commit ea3d27c311b0eded9ded2fcaa37e03e59ed8b184
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sat Sep 1 18:42:49 2012 +0200
SystemMonitor: left align the indicator container
MessageTray.actor now has ClutterBinLayout layout manager, so we need
to tell it esplicitly where to place us.
extensions/systemMonitor/extension.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/extensions/systemMonitor/extension.js b/extensions/systemMonitor/extension.js
index 07f5cbd..4daabb8 100644
--- a/extensions/systemMonitor/extension.js
+++ b/extensions/systemMonitor/extension.js
@@ -301,7 +301,9 @@ const Extension = new Lang.Class({
},
enable: function() {
- this._box = new St.BoxLayout({ style_class: 'extension-systemMonitor-container' });
+ this._box = new St.BoxLayout({ style_class: 'extension-systemMonitor-container',
+ x_align: Clutter.ActorAlign.START,
+ x_expand: true });
this._indicators = [ ];
for (let i = 0; i < INDICATORS.length; i++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]