aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-01-07 21:23:14 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2013-01-07 21:34:47 +0800
commit273ef9afeabc1de111d4b890dccb3e9153c8c3b1 (patch)
tree7a2a9492727af4153f2a2e4757becf90f9036362 /src
parent1e7449f5a14e2f031389808206c9991f65d3ade7 (diff)
downloadgsoc2013-empathy-273ef9afeabc1de111d4b890dccb3e9153c8c3b1.tar.gz
gsoc2013-empathy-273ef9afeabc1de111d4b890dccb3e9153c8c3b1.tar.zst
gsoc2013-empathy-273ef9afeabc1de111d4b890dccb3e9153c8c3b1.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/empathy-roster-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index b042ba4fb..34c2c2952 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);