diff options
-rw-r--r-- | e-util/ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-passwords.c | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index da4b64f537..9e4c030220 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -1,3 +1,9 @@ +2005-02-04 Rodney Dawes <dobey@novell.com> + + * e-passwords.c (ep_ask_password): Set the border widths for the + dialog containers to be HIG compliant + Fix the padding/spacing on the internal vbox to be HIG compliant + 2005-01-27 Mengjie Yu <meng-jie.yu@sun.com> * e-request.c: (e_request_string):add a11y description for the 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 (); |