diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-28 01:01:45 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-28 01:01:45 +0800 |
commit | 6d09205d5d4fddba941f7d26ba70e15edcf4ae42 (patch) | |
tree | 97bc1ff62c1f50b0e60aed1b815fa83ee82e0e63 /shell | |
parent | f79b9679ae7325fba7b258e4d468e8b6b54ab947 (diff) | |
download | gsoc2013-evolution-6d09205d5d4fddba941f7d26ba70e15edcf4ae42.tar gsoc2013-evolution-6d09205d5d4fddba941f7d26ba70e15edcf4ae42.tar.gz gsoc2013-evolution-6d09205d5d4fddba941f7d26ba70e15edcf4ae42.tar.bz2 gsoc2013-evolution-6d09205d5d4fddba941f7d26ba70e15edcf4ae42.tar.lz gsoc2013-evolution-6d09205d5d4fddba941f7d26ba70e15edcf4ae42.tar.xz gsoc2013-evolution-6d09205d5d4fddba941f7d26ba70e15edcf4ae42.tar.zst gsoc2013-evolution-6d09205d5d4fddba941f7d26ba70e15edcf4ae42.zip |
(timeout_callback): Pass a the context's
language to pango_context_get_metrics() instead of NULL, so the
heights are computed correctly.
svn path=/trunk/; revision=19651
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ChangeLog | 6 | ||||
-rw-r--r-- | shell/e-shell-about-box.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 3b3defa968..5477cae383 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,5 +1,11 @@ 2003-01-27 Ettore Perazzoli <ettore@ximian.com> + * e-shell-about-box.c (timeout_callback): Pass a the context's + language to pango_context_get_metrics() instead of NULL, so the + heights are computed correctly. + +2003-01-27 Ettore Perazzoli <ettore@ximian.com> + * evolution-shell-component.c (owner_ping_callback): #if 0'ed out for now, since it seems to cause trouble for local components. (setup_owner_pinging): Likewise. diff --git a/shell/e-shell-about-box.c b/shell/e-shell-about-box.c index 421331b4d8..be313941fd 100644 --- a/shell/e-shell-about-box.c +++ b/shell/e-shell-about-box.c @@ -160,7 +160,7 @@ timeout_callback (void *data) context = gtk_widget_get_pango_context (widget); metrics = pango_context_get_metrics (context, gtk_widget_get_style (GTK_WIDGET (about_box))->font_desc, - NULL); + pango_context_get_language (context)); line_height = PANGO_PIXELS (pango_font_metrics_get_ascent (metrics) + pango_font_metrics_get_descent (metrics)); pango_font_metrics_unref (metrics); |