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



commit 15e1470c5004b5d068a33098f73a3b4673b29983
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]