aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-settings-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-settings-dialog.c')
-rw-r--r--shell/e-shell-settings-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-shell-settings-dialog.c b/shell/e-shell-settings-dialog.c
index eeadd88885..fab3acf684 100644
--- a/shell/e-shell-settings-dialog.c
+++ b/shell/e-shell-settings-dialog.c
@@ -68,8 +68,8 @@ set_dialog_size (EShellSettingsDialog *dialog)
gtk_widget_get_style (GTK_WIDGET (dialog))->font_desc,
pango_context_get_language (context));
- pango_layout_get_pixel_size (layout,
- &width, NULL);
+ pango_layout_get_pixel_size (layout, &width, NULL);
+
width *= 72;
height = PANGO_PIXELS (pango_font_metrics_get_ascent (metrics)
+ pango_font_metrics_get_descent (metrics)) * 35;