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



commit 6cbb519027df25f3f6434fd9bd7d6d839dd3fadd
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 ac4c2c4..07be3dd 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]