Revert "messageTray: Fix summary position in RTL locales"
This reverts commit e6ba7c6e40
.
The original issue is fixed by Clutter commit 64c7973c7429c.
This commit is contained in:
parent
23c1138a58
commit
c1590d9ed7
@ -1410,12 +1410,10 @@ const MessageTray = new Lang.Class({
|
|||||||
actor.grab_key_focus();
|
actor.grab_key_focus();
|
||||||
}));
|
}));
|
||||||
global.focus_manager.add_group(this.actor);
|
global.focus_manager.add_group(this.actor);
|
||||||
let rtl = this.actor.get_text_direction() == Clutter.TextDirection.RTL;
|
|
||||||
this._summary = new St.BoxLayout({ name: 'summary-mode',
|
this._summary = new St.BoxLayout({ name: 'summary-mode',
|
||||||
reactive: true,
|
reactive: true,
|
||||||
track_hover: true,
|
track_hover: true,
|
||||||
x_align: rtl ? Clutter.ActorAlign.START
|
x_align: Clutter.ActorAlign.END,
|
||||||
: Clutter.ActorAlign.END,
|
|
||||||
x_expand: true,
|
x_expand: true,
|
||||||
y_align: Clutter.ActorAlign.CENTER,
|
y_align: Clutter.ActorAlign.CENTER,
|
||||||
y_expand: true });
|
y_expand: true });
|
||||||
|
Loading…
Reference in New Issue
Block a user