[gnome-shell/gnome-3-6] polkitAgent: Expand password entry to the full width



commit 68e011d4cb8ab75943408e5ee08342c180cd50cd
Author: Florian MÃllner <fmuellner gnome org>
Date:   Wed Nov 7 18:06:02 2012 +0100

    polkitAgent: Expand password entry to the full width
    
    Due to an oversight, the width of the password entry is currently
    determined by the length of the message description. Fix the flags
    so that the entry spans the entire width of the dialog.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684810

 js/ui/components/polkitAgent.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/components/polkitAgent.js b/js/ui/components/polkitAgent.js
index 2f710df..db32976 100644
--- a/js/ui/components/polkitAgent.js
+++ b/js/ui/components/polkitAgent.js
@@ -49,7 +49,7 @@ const AuthenticationDialog = new Lang.Class({
         let messageBox = new St.BoxLayout({ style_class: 'prompt-dialog-message-layout',
                                             vertical: true });
         mainContentBox.add(messageBox,
-                           { y_align: St.Align.START });
+                           { expand: true, y_align: St.Align.START });
 
         this._subjectLabel = new St.Label({ style_class: 'prompt-dialog-headline',
                                             text: _("Authentication Required") });



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