]> git.0d.be Git - empathy.git/commitdiff
roster-window: ellipsize infobar title
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 7 Jan 2013 13:23:14 +0000 (14:23 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 7 Jan 2013 13:34:47 +0000 (14:34 +0100)
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

index b042ba4fb5dcfdac597a39314c43c616a6c989a3..34c2c29526da68d5727a7548c89696793c062452 100644 (file)
@@ -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);