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
This commit is contained in:
Florian Müllner 2013-09-18 22:36:17 +02:00
parent 30e7440851
commit 39134f0d9b

View File

@ -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;