[gnome-shell] messageTray: Fix RTL handling in notifications



commit efb9f167bd2efb5afee2fc9532ea9aa38ce04339
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Aug 6 16:03:15 2014 +0200

    messageTray: Fix RTL handling in notifications
    
    Commit 234b90ac866136c2fb1 replaced a member variable with a "local"
    one, except that it wasn't that local after all ...

 js/ui/messageTray.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 92135f9..beabb8a 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -922,7 +922,7 @@ const Notification = new Lang.Class({
         let [titleMinH, titleNatH] = this._titleLabel.get_preferred_height(availWidth);
         let [bannerMinW, bannerNatW] = this._bannerLabel.get_preferred_width(availWidth);
 
-        let rtl = (this._titleDirection == Clutter.TextDirection.RTL);
+        let rtl = (this._table.text_direction == Clutter.TextDirection.RTL);
         let x = rtl ? availWidth : 0;
 
         if (this._secondaryIcon) {


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