[gnome-shell] calendar: Fix body alignment for RTL locales



commit 1002bbc212f1e0697e856094170a19c814c9833e
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Mar 17 16:46:08 2015 +0100

    calendar: Fix body alignment for RTL locales
    
    Since commit 75745fc23f3f22, the bodyStack itself is no longer start-aligned
    to not break custom body actors like chat notifications. However we still
    want "normal" body actors start-aligned to get the correct RTL behavior.

 js/ui/calendar.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 0e03a2b..a79fd7e 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -122,7 +122,8 @@ const URLHighlighter = new Lang.Class({
     _init: function(text, lineWrap, allowMarkup) {
         if (!text)
             text = '';
-        this.actor = new St.Label({ reactive: true, style_class: 'url-highlighter' });
+        this.actor = new St.Label({ reactive: true, style_class: 'url-highlighter',
+                                    x_expand: true, x_align: Clutter.ActorAlign.START });
         this._linkColor = '#ccccff';
         this.actor.connect('style-changed', Lang.bind(this, function() {
             let [hasColor, color] = this.actor.get_theme_node().lookup_color('link-color', false);


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