aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-04-12 02:18:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-04-12 02:18:52 +0800
commitc6cb5d9631d4c05bffa4ab320bae53909a7a55c6 (patch)
treea6f02d8e00c9340daf2b3cb93a4c88b69df3d4d0 /mail
parentfcbb259416b76c94583aaaea2ffae50d9746a891 (diff)
downloadgsoc2013-evolution-c6cb5d9631d4c05bffa4ab320bae53909a7a55c6.tar
gsoc2013-evolution-c6cb5d9631d4c05bffa4ab320bae53909a7a55c6.tar.gz
gsoc2013-evolution-c6cb5d9631d4c05bffa4ab320bae53909a7a55c6.tar.bz2
gsoc2013-evolution-c6cb5d9631d4c05bffa4ab320bae53909a7a55c6.tar.lz
gsoc2013-evolution-c6cb5d9631d4c05bffa4ab320bae53909a7a55c6.tar.xz
gsoc2013-evolution-c6cb5d9631d4c05bffa4ab320bae53909a7a55c6.tar.zst
gsoc2013-evolution-c6cb5d9631d4c05bffa4ab320bae53909a7a55c6.zip
Add padding around the entry/checkbox and change the border width of the
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. svn path=/trunk/; revision=20822
Diffstat (limited to 'mail')
-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);
}