[empathy] accounts-dialog: ellipsize presence message



commit be6cefc64d3893274dd907dcc094d6209b54352a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Fri Jan 6 15:03:58 2012 +0100

    accounts-dialog: ellipsize presence message
    
    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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index cd3ab1f..13e8f61 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]