aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-session.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 5ec56b5dac..0516ae3d44 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-11 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-session.c (request_password): Add padding around the
+ entry/checkbox and change the border width of the dialog window to
+ comply with the HIG. Fixes bug #41004.
+
2003-04-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-search.c (mail_search_construct): Change the action button
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 319fad9b0b..2b3850b399 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -264,10 +264,12 @@ request_password (struct _pass_msg *m)
gtk_window_set_title (GTK_WINDOW (password_dialog), title);
g_free (title);
+ gtk_container_set_border_width ((GtkContainer *) password_dialog, 6);
+
m->entry = gtk_entry_new ();
gtk_entry_set_visibility ((GtkEntry *) m->entry, !m->secret);
g_signal_connect (m->entry, "activate", G_CALLBACK (pass_activate), password_dialog);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (password_dialog)->vbox), m->entry, TRUE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (GTK_DIALOG (password_dialog)->vbox), m->entry, TRUE, FALSE, 3);
gtk_widget_show (m->entry);
if (m->reprompt && m->result) {
@@ -281,7 +283,7 @@ request_password (struct _pass_msg *m)
_("_Remember this password for the remainder of this session"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (m->check),
m->config_service ? m->config_service->save_passwd : FALSE);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (password_dialog)->vbox), m->check, TRUE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (GTK_DIALOG (password_dialog)->vbox), m->check, TRUE, FALSE, 3);
gtk_widget_show (m->check);
}