From c5973960fd01e9c461dc19a1dcd3f8cf40bde6c3 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 6 Oct 2010 12:06:59 +0200 Subject: main-window: elipsize "No match found" message This avoid to enlarge the contact list when displaying it (#631455). --- src/empathy-main-window.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 9a336a3aa..04d1480fb 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); } -- cgit v1.2.3