[empathy/gnome-2-32] main-window: elipsize "No match found" message
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-32] main-window: elipsize "No match found" message
- Date: Wed, 6 Oct 2010 10:42:44 +0000 (UTC)
commit c5973960fd01e9c461dc19a1dcd3f8cf40bde6c3
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Oct 6 12:06:59 2010 +0200
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 9a336a3..04d1480 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]