From f8eb8adfbeb5517373da6bb75d2b7c267724d5a0 Mon Sep 17 00:00:00 2001 From: Yosef Or Boczko Date: Wed, 11 Dec 2013 22:40:18 +0200 Subject: [PATCH] keyring: Align some srtings to right in RTL https://bugzilla.gnome.org/show_bug.cgi?id=712594 --- data/theme/gnome-shell.css | 4 ++++ js/ui/components/keyring.js | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 4749c417a..91fca2d06 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -2095,6 +2095,10 @@ StScrollBar StButton#vhandle:active { color: #666666; } +.prompt-dialog-description:rtl { + text-align: right; +} + .prompt-dialog-password-box { spacing: 1em; padding-bottom: 1em; diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js index a5f5e1bdf..41d921eca 100644 --- a/js/ui/components/keyring.js +++ b/js/ui/components/keyring.js @@ -45,7 +45,9 @@ const KeyringDialog = new Lang.Class({ this.prompt.bind_property('message', subject, 'text', GObject.BindingFlags.SYNC_CREATE); this._messageBox.add(subject, - { y_fill: false, + { x_fill: false, + y_fill: false, + x_align: St.Align.START, y_align: St.Align.START }); let description = new St.Label({ style_class: 'prompt-dialog-description' });