aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-passwords.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-passwords.c')
-rw-r--r--e-util/e-passwords.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/e-util/e-passwords.c b/e-util/e-passwords.c
index 879f055eb4..a3719726d9 100644
--- a/e-util/e-passwords.c
+++ b/e-util/e-passwords.c
@@ -432,15 +432,19 @@ ep_ask_password(EPassMsg *msg)
"%s", msg->prompt);
gtk_window_set_title(GTK_WINDOW(password_dialog), msg->title);
+ gtk_widget_ensure_style (GTK_WIDGET (password_dialog));
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (password_dialog)->vbox), 0);
+ gtk_container_set_border_width (GTK_CONTAINER (GTK_DIALOG (password_dialog)->action_area), 12);
+
#if !GTK_CHECK_VERSION (2,4,0)
gtk_dialog_set_has_separator(password_dialog, FALSE);
#endif
gtk_dialog_set_default_response(password_dialog, GTK_RESPONSE_OK);
- vbox = gtk_vbox_new (FALSE, 6);
+ vbox = gtk_vbox_new (FALSE, 12);
gtk_widget_show (vbox);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (password_dialog)->vbox), vbox, TRUE, FALSE, 0);
- gtk_container_set_border_width((GtkContainer *)vbox, 6);
+ gtk_container_set_border_width((GtkContainer *)vbox, 12);
msg->entry = gtk_entry_new ();