mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
messageTray: Fix summary position in RTL locales
https://bugzilla.gnome.org/show_bug.cgi?id=684214
This commit is contained in:
parent
ea4855e908
commit
e6ba7c6e40
1 changed files with 3 additions and 1 deletions
|
|
@ -1410,10 +1410,12 @@ const MessageTray = new Lang.Class({
|
|||
actor.grab_key_focus();
|
||||
}));
|
||||
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',
|
||||
reactive: true,
|
||||
track_hover: true,
|
||||
x_align: Clutter.ActorAlign.END,
|
||||
x_align: rtl ? Clutter.ActorAlign.START
|
||||
: Clutter.ActorAlign.END,
|
||||
x_expand: true,
|
||||
y_align: Clutter.ActorAlign.CENTER,
|
||||
y_expand: true });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue