diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-06-26 21:28:26 +0800 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-06-26 21:28:26 +0800 |
commit | 76a11c06dae40c16d70c506b808bec51d5a1cd13 (patch) | |
tree | 3276c78b7f3e11316eb31cf45a865559b36a64c0 /src | |
parent | 6bace22f3ffb9695870267e2a59858b3feeaa83e (diff) | |
download | gsoc2013-empathy-76a11c06dae40c16d70c506b808bec51d5a1cd13.tar.gz gsoc2013-empathy-76a11c06dae40c16d70c506b808bec51d5a1cd13.tar.zst gsoc2013-empathy-76a11c06dae40c16d70c506b808bec51d5a1cd13.zip |
AccountsDialog: Ellipsize account dispaly name
This fix gnome-shell crash if the name is too big,
because it makes the window huge.
https://bugzilla.gnome.org/show_bug.cgi?id=702095
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-accounts-dialog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index f0a2db9a2..abb4e0ca8 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -2384,6 +2384,7 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog) /* first row */ priv->label_name = gtk_label_new (NULL); + gtk_label_set_ellipsize (GTK_LABEL (priv->label_name), PANGO_ELLIPSIZE_END); gtk_grid_attach (GTK_GRID (grid), priv->label_name, 1, 0, 1, 1); /* second row */ |