[empathy] main-window: use line-wrap for "no match" label
- From: Diego Escalante Urrelo <diegoe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] main-window: use line-wrap for "no match" label
- Date: Mon, 24 Jan 2011 19:30:35 +0000 (UTC)
commit 8b4a09ed7450b0b3d806d0996d174f911e4c3352
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Sat Jan 22 17:44:55 2011 -0500
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
src/empathy-main-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 740220b..d7422d8 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]