[gnome-shell] keyring: Align some srtings to right in RTL



commit f8eb8adfbeb5517373da6bb75d2b7c267724d5a0
Author: Yosef Or Boczko <yoseforb gmail com>
Date:   Wed Dec 11 22:40:18 2013 +0200

    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 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 4749c41..91fca2d 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 a5f5e1b..41d921e 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' });


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]