diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-06 18:06:59 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-10-06 18:43:51 +0800 |
commit | e2087d9cd12d7f79e7409618b5ff661d04d9e686 (patch) | |
tree | a13996631dc56c505be76744ff6b1a4d602ef79b | |
parent | 9ff924e6e512d21414e080d78b93cdde8a3ae4fa (diff) | |
download | gsoc2013-empathy-e2087d9cd12d7f79e7409618b5ff661d04d9e686.tar gsoc2013-empathy-e2087d9cd12d7f79e7409618b5ff661d04d9e686.tar.gz gsoc2013-empathy-e2087d9cd12d7f79e7409618b5ff661d04d9e686.tar.bz2 gsoc2013-empathy-e2087d9cd12d7f79e7409618b5ff661d04d9e686.tar.lz gsoc2013-empathy-e2087d9cd12d7f79e7409618b5ff661d04d9e686.tar.xz gsoc2013-empathy-e2087d9cd12d7f79e7409618b5ff661d04d9e686.tar.zst gsoc2013-empathy-e2087d9cd12d7f79e7409618b5ff661d04d9e686.zip |
main-window: elipsize "No match found" message
This avoid to enlarge the contact list when displaying it (#631455).
-rw-r--r-- | 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 6519a50d4..85a64a365 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); } |