]> git.0d.be Git - empathy.git/commitdiff
accounts-dialog: ellipsize presence message
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 6 Jan 2012 14:03:58 +0000 (15:03 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 15 Feb 2012 09:23:06 +0000 (10:23 +0100)
Long messages make this dialog looks weird and that's not really the point of
this UI to display it anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=663627

src/empathy-accounts-dialog.c

index cd3ab1fc571db27540249c097bb01abbce5cf576..13e8f617b59ca341bb3c9af6dabbd7edf1c04f2c 100644 (file)
@@ -2308,7 +2308,7 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog)
             TP_CONNECTION_PRESENCE_TYPE_OFFLINE), GTK_ICON_SIZE_SMALL_TOOLBAR);
 
   priv->label_status = gtk_label_new (NULL);
-  gtk_label_set_line_wrap (GTK_LABEL (priv->label_status), TRUE);
+  gtk_label_set_ellipsize (GTK_LABEL (priv->label_status), PANGO_ELLIPSIZE_END);
 
   gtk_box_pack_start (GTK_BOX (hbox), priv->throbber, FALSE, FALSE, 0);
   gtk_box_pack_start (GTK_BOX (hbox), priv->image_status, FALSE, FALSE, 0);