aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2011-01-23 06:44:55 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2011-01-25 03:29:52 +0800
commit8b4a09ed7450b0b3d806d0996d174f911e4c3352 (patch)
tree444ef8dafce0833889c8cf86432732aca81b5615 /src/empathy-main-window.c
parente64970236bda77f049d23c890a590bdab8414705 (diff)
downloadgsoc2013-empathy-8b4a09ed7450b0b3d806d0996d174f911e4c3352.tar
gsoc2013-empathy-8b4a09ed7450b0b3d806d0996d174f911e4c3352.tar.gz
gsoc2013-empathy-8b4a09ed7450b0b3d806d0996d174f911e4c3352.tar.bz2
gsoc2013-empathy-8b4a09ed7450b0b3d806d0996d174f911e4c3352.tar.lz
gsoc2013-empathy-8b4a09ed7450b0b3d806d0996d174f911e4c3352.tar.xz
gsoc2013-empathy-8b4a09ed7450b0b3d806d0996d174f911e4c3352.tar.zst
gsoc2013-empathy-8b4a09ed7450b0b3d806d0996d174f911e4c3352.zip
main-window: use line-wrap for "no match" label
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
Diffstat (limited to 'src/empathy-main-window.c')
-rw-r--r--src/empathy-main-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 740220b2f..d7422d874 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);