]> git.0d.be Git - empathy.git/commitdiff
main-window: elipsize "No match found" message
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 6 Oct 2010 10:06:59 +0000 (12:06 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 6 Oct 2010 10:43:51 +0000 (12:43 +0200)
This avoid to enlarge the contact list when displaying it (#631455).

src/empathy-main-window.c

index 6519a50d49bdf097944f3686588dd7e0dab0a978..85a64a3659f67e4d7b6574a96f09516b16fb553e 100644 (file)
@@ -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);
                }