From 39134f0d9ba312482f15a06f43d2c6bf30398ec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 18 Sep 2013 22:36:17 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+) diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index 63c8bb77a..6a9656890 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;