From efb9f167bd2efb5afee2fc9532ea9aa38ce04339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 6 Aug 2014 16:03:15 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 92135f980..beabb8a71 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) {