[Pkg-telepathy-commits] [empathy] 12/39: AccountsDialog: Ellipsize account dispaly name

Simon McVittie smcv at debian.org
Wed Jan 29 12:53:12 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository empathy.

commit 76a11c06dae40c16d70c506b808bec51d5a1cd13
Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date:   Wed Jun 26 15:28:26 2013 +0200

    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
---
 src/empathy-accounts-dialog.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index f0a2db9..abb4e0c 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 */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/empathy.git



More information about the Pkg-telepathy-commits mailing list