diff options
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); |