From 8b4a09ed7450b0b3d806d0996d174f911e4c3352 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Sat, 22 Jan 2011 17:44:55 -0500 Subject: [PATCH] main-window: use line-wrap for "no match" label MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit On narrow contact lists, the ellipsizing makes the "No match" message disappear, users are forced to resize the window to know what's hidden beyond the …. Wrapping takes advantage of all the vertical space available. Bug #640295 --- src/empathy-main-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index 740220b2..d7422d87 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -532,8 +532,8 @@ 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_label_set_line_wrap (GTK_LABEL (priv->no_entry_label), + TRUE); gtk_notebook_set_current_page ( GTK_NOTEBOOK (priv->notebook), PAGE_NO_MATCH); -- 2.39.2