[gnome-shell-extensions] Align workspace indicator label vertically to center



commit 12e3f39ccd0897e828c665eb9789a9a7fa64c770
Author: Maciek Borzecki <maciek borzecki gmail com>
Date:   Mon Nov 11 09:52:50 2013 +0100

    Align workspace indicator label vertically to center
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711823

 extensions/workspace-indicator/extension.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/extensions/workspace-indicator/extension.js b/extensions/workspace-indicator/extension.js
index 7f65324..96fff45 100644
--- a/extensions/workspace-indicator/extension.js
+++ b/extensions/workspace-indicator/extension.js
@@ -30,7 +30,8 @@ const WorkspaceIndicator = new Lang.Class({
        this.parent(0.0, _("Workspace Indicator"));
 
        this._currentWorkspace = global.screen.get_active_workspace().index();
-       this.statusLabel = new St.Label({ text: this._labelText() });
+       this.statusLabel = new St.Label({ y_align: Clutter.ActorAlign.CENTER,
+                                          text: this._labelText() });
 
        this.actor.add_actor(this.statusLabel);
 


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