[gnome-shell/user-status-update: 4/9] popup-menu: Expand switch menu items



commit 42b17923397c879be92298a3c8ef9c57be30b463
Author: Florian MÃllner <fmuellner gnome org>
Date:   Thu Jul 28 16:59:10 2011 +0200

    popup-menu: Expand switch menu items

 js/ui/popupMenu.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index 403030d..50f899a 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -719,7 +719,8 @@ PopupSwitchMenuItem.prototype = {
         this.addActor(this.label);
 
         this._statusBin = new St.Bin({ x_align: St.Align.END });
-        this.addActor(this._statusBin, { align: St.Align.END });
+        this.addActor(this._statusBin,
+                      { expand: true, span: -1, align: St.Align.END });
 
         this._statusLabel = new St.Label({ text: '',
                                            style_class: 'popup-inactive-menu-item'



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