aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-06 18:06:59 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-10-06 18:06:59 +0800
commitc5973960fd01e9c461dc19a1dcd3f8cf40bde6c3 (patch)
tree0458cb59329c1f739650790b0af0323212e64692 /src
parentcd7f80c3c7028d7e688321b26fecfc3429121851 (diff)
downloadgsoc2013-empathy-c5973960fd01e9c461dc19a1dcd3f8cf40bde6c3.tar
gsoc2013-empathy-c5973960fd01e9c461dc19a1dcd3f8cf40bde6c3.tar.gz
gsoc2013-empathy-c5973960fd01e9c461dc19a1dcd3f8cf40bde6c3.tar.bz2
gsoc2013-empathy-c5973960fd01e9c461dc19a1dcd3f8cf40bde6c3.tar.lz
gsoc2013-empathy-c5973960fd01e9c461dc19a1dcd3f8cf40bde6c3.tar.xz
gsoc2013-empathy-c5973960fd01e9c461dc19a1dcd3f8cf40bde6c3.tar.zst
gsoc2013-empathy-c5973960fd01e9c461dc19a1dcd3f8cf40bde6c3.zip
main-window: elipsize "No match found" message
This avoid to enlarge the contact list when displaying it (#631455).
Diffstat (limited to 'src')
-rw-r--r--src/empathy-main-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 9a336a3aa..04d1480fb 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);
}