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.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/shell/e-shell-settings-dialog.c b/shell/e-shell-settings-dialog.c
index a8abfb2ce2..cab4070def 100644
--- a/shell/e-shell-settings-dialog.c
+++ b/shell/e-shell-settings-dialog.c
@@ -70,12 +70,11 @@ set_dialog_size (EShellSettingsDialog *dialog)
pango_layout_get_pixel_size (layout, &width, NULL);
- width *= 72;
+ width *= 60;
height = PANGO_PIXELS (pango_font_metrics_get_ascent (metrics)
- + pango_font_metrics_get_descent (metrics)) * 35;
-
- gtk_widget_set_size_request (GTK_WIDGET (dialog), width, height);
+ + pango_font_metrics_get_descent (metrics)) * 30;
+ gtk_window_set_default_size((GtkWindow *)dialog, width, height);
g_object_unref (layout);
pango_font_metrics_unref (metrics);
}