From: Guillaume Desmottes Date: Wed, 6 Oct 2010 10:06:59 +0000 (+0200) Subject: main-window: elipsize "No match found" message X-Git-Url: https://git.0d.be/?p=empathy.git;a=commitdiff_plain;h=e2087d9cd12d7f79e7409618b5ff661d04d9e686 main-window: elipsize "No match found" message This avoid to enlarge the contact list when displaying it (#631455). --- diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 6519a50d..85a64a36 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -385,6 +385,9 @@ main_window_row_deleted_cb (GtkTreeModel *model, gtk_label_set_markup (GTK_LABEL (priv->no_entry_label), tmp); g_free (tmp); + gtk_label_set_ellipsize (GTK_LABEL (priv->no_entry_label), + PANGO_ELLIPSIZE_END); + gtk_notebook_set_current_page ( GTK_NOTEBOOK (priv->notebook), PAGE_NO_MATCH); }