aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-01-18 07:22:23 +0800
committerChris Toshok <toshok@src.gnome.org>2003-01-18 07:22:23 +0800
commit673b33651451e83c367dcb78c6f6c01877f8e6d3 (patch)
tree5b0601752ae5755440c13e7210008312e58c1a7e
parente867ad711ed48dcaa1f052dd30c3f1a4436d42bf (diff)
downloadgsoc2013-evolution-673b33651451e83c367dcb78c6f6c01877f8e6d3.tar.gz
gsoc2013-evolution-673b33651451e83c367dcb78c6f6c01877f8e6d3.tar.zst
gsoc2013-evolution-673b33651451e83c367dcb78c6f6c01877f8e6d3.zip
pass pango_context_get_language (context) to pango_context_get_metrics.
2003-01-17 Chris Toshok <toshok@ximian.com> * e-shell-settings-dialog.c (set_dialog_size): pass pango_context_get_language (context) to pango_context_get_metrics. svn path=/trunk/; revision=19506
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/e-shell-settings-dialog.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index fb8c4a757c..f8f2db01c9 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,9 @@
+2003-01-17 Chris Toshok <toshok@ximian.com>
+
+ * e-shell-settings-dialog.c (set_dialog_size): pass
+ pango_context_get_language (context) to
+ pango_context_get_metrics.
+
2003-01-14 Ettore Perazzoli <ettore@ximian.com>
* e-shell-folder-selection-dialog.c
diff --git a/shell/e-shell-settings-dialog.c b/shell/e-shell-settings-dialog.c
index 84cb3ce164..eeadd88885 100644
--- a/shell/e-shell-settings-dialog.c
+++ b/shell/e-shell-settings-dialog.c
@@ -66,7 +66,7 @@ set_dialog_size (EShellSettingsDialog *dialog)
context = pango_layout_get_context (layout);
metrics = pango_context_get_metrics (context,
gtk_widget_get_style (GTK_WIDGET (dialog))->font_desc,
- NULL);
+ pango_context_get_language (context));
pango_layout_get_pixel_size (layout,
&width, NULL);