[empathy] fix alignment of the label in error-infobar



commit d0c2fc30cafbc9e1f2066bff136f0d19074268ee
Author: Felix Kaser <f kaser gmx net>
Date:   Mon Mar 29 09:48:48 2010 +0200

    fix alignment of the label in error-infobar
    
    this left aligns the label which contains the error message in the infobar. fixes bug #609823

 src/empathy-main-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 77414e9..635627e 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -424,6 +424,7 @@ 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_misc_set_alignment (GTK_MISC (label), 0, 0.5);
 	gtk_widget_show (label);
 	g_free (str);
 



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