[gnome-shell] panel: Center app-menu label vertically



commit f5e07fbeba09f062d7ee4e65345980354f741f27
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Mar 4 20:11:29 2015 +0100

    panel: Center app-menu label vertically
    
    Commit 333becef45 accidentally removed the y_align property, bring
    it back.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745110

 js/ui/panel.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/panel.js b/js/ui/panel.js
index c1ca129..2e6ddab 100644
--- a/js/ui/panel.js
+++ b/js/ui/panel.js
@@ -117,7 +117,8 @@ const AppMenuButton = new Lang.Class({
         this._iconBox = new St.Bin({ style_class: 'app-menu-icon' });
         this._container.add_actor(this._iconBox);
 
-        this._label = new St.Label();
+        this._label = new St.Label({ y_expand: true,
+                                     y_align: Clutter.ActorAlign.CENTER });
         this._container.add_actor(this._label);
         this._arrow = PopupMenu.arrowIcon(St.Side.BOTTOM);
         this._container.add_actor(this._arrow);


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