messageTray: Fix RTL handling in notifications
Commit 234b90ac86
replaced a member variable with a "local"
one, except that it wasn't that local after all ...
This commit is contained in:
parent
eb69f3aa76
commit
efb9f167bd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user