aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/ChangeLog5
-rw-r--r--widgets/misc/e-info-label.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index ebc12a7265..bca7906c4a 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-30 Matthew Barnes <mbarnes@redhat.com>
+
+ * e-info-label.c (e_info_label_set_info):
+ Fix vertical alignment of labels.
+
2008-08-27 Sankar P <psankar@novell.com>
License Changes
diff --git a/widgets/misc/e-info-label.c b/widgets/misc/e-info-label.c
index 4c3c04069f..38b2368b1d 100644
--- a/widgets/misc/e-info-label.c
+++ b/widgets/misc/e-info-label.c
@@ -215,11 +215,11 @@ e_info_label_set_info(EInfoLabel *el, const char *location, const char *info)
el->info = gtk_label_new (NULL);
gtk_label_set_ellipsize (GTK_LABEL (el->location), PANGO_ELLIPSIZE_END);
- gtk_misc_set_alignment (GTK_MISC (el->location), 0.0, 0.0);
+ gtk_misc_set_alignment (GTK_MISC (el->location), 0.0, 0.5);
gtk_misc_set_padding (GTK_MISC (el->location), 0, 6);
gtk_label_set_ellipsize (GTK_LABEL (el->info), PANGO_ELLIPSIZE_MIDDLE);
- gtk_misc_set_alignment (GTK_MISC (el->info), 1.0, 1.0);
+ gtk_misc_set_alignment (GTK_MISC (el->info), 1.0, 0.5);
gtk_misc_set_padding (GTK_MISC (el->info), 0, 6);
gtk_widget_show (el->location);