[gnome-shell] keyring: Don't allow ellipsization of Password label
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] keyring: Don't allow ellipsization of Password label
- Date: Thu, 19 Sep 2013 05:54:48 +0000 (UTC)
commit 30e74408516fe2e7b67dfaa755c3a45e0b9e2938
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Sep 18 21:39:23 2013 +0200
keyring: Don't allow ellipsization of Password label
We don't want the password entry to grow when entering more characters
that fit the available width; as labels' ClutterText ellipsizes by
default, the password label allows the entry to grow by shrinking.
Setting the appropriate ellipsize mode fixes this.
https://bugzilla.gnome.org/show_bug.cgi?id=708324
js/ui/components/keyring.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js
index 521b918..a1a6267 100644
--- a/js/ui/components/keyring.js
+++ b/js/ui/components/keyring.js
@@ -89,6 +89,7 @@ const KeyringDialog = new Lang.Class({
if (this.prompt.password_visible) {
let label = new St.Label({ style_class: 'prompt-dialog-password-label' });
label.set_text(_("Password:"));
+ label.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
layout.pack(label, 0, row);
layout.child_set(label, { x_expand: false, y_fill: false,
x_align: Clutter.TableAlignment.START });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]