aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-08-30 19:40:20 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-08-30 19:40:20 +0800
commit229beeeac3b22293ef73261a421b3f80fa6c6286 (patch)
tree3d8880a40ac745a3dd3b59a1520fe67d08d5a17c /widgets
parent708de6410b2535147fe0a2a3298fdd204919d3ec (diff)
downloadgsoc2013-evolution-229beeeac3b22293ef73261a421b3f80fa6c6286.tar
gsoc2013-evolution-229beeeac3b22293ef73261a421b3f80fa6c6286.tar.gz
gsoc2013-evolution-229beeeac3b22293ef73261a421b3f80fa6c6286.tar.bz2
gsoc2013-evolution-229beeeac3b22293ef73261a421b3f80fa6c6286.tar.lz
gsoc2013-evolution-229beeeac3b22293ef73261a421b3f80fa6c6286.tar.xz
gsoc2013-evolution-229beeeac3b22293ef73261a421b3f80fa6c6286.tar.zst
gsoc2013-evolution-229beeeac3b22293ef73261a421b3f80fa6c6286.zip
Fix vertical alignment of labels.
2008-08-30 Matthew Barnes <mbarnes@redhat.com> * widgets/misc/e-info-label.c (e_info_label_set_info): Fix vertical alignment of labels. svn path=/trunk/; revision=36217
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);