aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-01-25 23:45:07 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-01-26 00:02:09 +0800
commit2b6d806d6e22c20387f6cd9a9308c570dd4a7fb0 (patch)
tree13f1f40630c732a9bd5df85ea6eade312e4b110c
parentbbf4bebc4c243fb47d9e0698af88621f859a7449 (diff)
downloadgsoc2013-empathy-2b6d806d6e22c20387f6cd9a9308c570dd4a7fb0.tar
gsoc2013-empathy-2b6d806d6e22c20387f6cd9a9308c570dd4a7fb0.tar.gz
gsoc2013-empathy-2b6d806d6e22c20387f6cd9a9308c570dd4a7fb0.tar.bz2
gsoc2013-empathy-2b6d806d6e22c20387f6cd9a9308c570dd4a7fb0.tar.lz
gsoc2013-empathy-2b6d806d6e22c20387f6cd9a9308c570dd4a7fb0.tar.xz
gsoc2013-empathy-2b6d806d6e22c20387f6cd9a9308c570dd4a7fb0.tar.zst
gsoc2013-empathy-2b6d806d6e22c20387f6cd9a9308c570dd4a7fb0.zip
Ellipsize connection error infobars
This prevents your contact list being forcibly expanded horizontally when an account with a long name fails to connect. Fixes: #608043
-rw-r--r--src/empathy-main-window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index e62b4ad0a..82aa6b1d1 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -416,12 +416,13 @@ main_window_error_display (EmpathyMainWindow *window,
label = gtk_label_new (str);
gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_widget_show (label);
g_free (str);
content_area = gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar));
gtk_box_pack_start (GTK_BOX (content_area), image, FALSE, FALSE, 0);
- gtk_box_pack_start (GTK_BOX (content_area), label, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (content_area), label, TRUE, TRUE, 0);
image = gtk_image_new_from_stock (GTK_STOCK_REFRESH, GTK_ICON_SIZE_BUTTON);
retry_button = gtk_button_new ();