From: Guillaume Desmottes Date: Fri, 6 Jan 2012 14:03:58 +0000 (+0100) Subject: accounts-dialog: ellipsize presence message X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=be6cefc64d3893274dd907dcc094d6209b54352a 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 --- diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index cd3ab1fc..13e8f617 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);