[empathy/gnome-3-6] roster-window: ellipsize infobar title



commit 273ef9afeabc1de111d4b890dccb3e9153c8c3b1
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Jan 7 14:23:14 2013 +0100

    roster-window: ellipsize infobar title
    
    This avoid to increase the width of the roster window when displaying the
    error.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=691137

 src/empathy-roster-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index b042ba4..34c2c29 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -559,6 +559,7 @@ roster_window_error_create_info_bar (EmpathyRosterWindow *self,
   label = gtk_label_new (message_markup);
   gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
   gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
+  gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
   gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
   gtk_widget_show (label);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]