[gnome-shell] networkAgent: Don't allow ellipsization of Password label



commit 39134f0d9ba312482f15a06f43d2c6bf30398ec8
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Sep 18 22:36:17 2013 +0200

    networkAgent: Don't allow ellipsization of Password label
    
    We don't want password entries to grow when entering more characters
    that fit the available width; as labels' ClutterText ellipsizes by
    default, the password labels allow entries to grow by shrinking.
    Setting the appropriate ellipsize mode fixes this.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=708324

 js/ui/components/networkAgent.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js
index 63c8bb7..6a96568 100644
--- a/js/ui/components/networkAgent.js
+++ b/js/ui/components/networkAgent.js
@@ -83,6 +83,7 @@ const NetworkSecretDialog = new Lang.Class({
             let secret = this._content.secrets[i];
             let label = new St.Label({ style_class: 'prompt-dialog-password-label',
                                        text: secret.label });
+            label.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
 
             let reactive = secret.key != null;
 



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