diff options
author | Rodney Dawes <dobey@novell.com> | 2005-02-05 02:26:36 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2005-02-05 02:26:36 +0800 |
commit | b49e081892dce4d74a52044f4e2660200864ca60 (patch) | |
tree | 03db4e9005875f3cf5eed3368d0cd262575690ba /e-util | |
parent | afbb1fd44d098899205335e45267979c8681ed4a (diff) | |
download | gsoc2013-evolution-b49e081892dce4d74a52044f4e2660200864ca60.tar.gz gsoc2013-evolution-b49e081892dce4d74a52044f4e2660200864ca60.tar.zst gsoc2013-evolution-b49e081892dce4d74a52044f4e2660200864ca60.zip |
Set the border widths for the dialog containers to be HIG compliant Fix
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
svn path=/trunk/; revision=28711
Diffstat (limited to 'e-util')
-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 (); |