aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_account_dialog.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-10-30 06:48:54 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-10-30 06:48:54 +0000
commit40ad913f977a5fa22fd39175027effd7e8f069b9 (patch)
treec254aee1911493d4739bb70a38dc32174a0743bf /src/prefs_account_dialog.c
parent0a7c79643d2a551cf4c62a096f25fae8fe2eaf6b (diff)
impelmented POP before SMTP.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1254 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_account_dialog.c')
-rw-r--r--src/prefs_account_dialog.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/prefs_account_dialog.c b/src/prefs_account_dialog.c
index 5198bb07..4e7d9b48 100644
--- a/src/prefs_account_dialog.c
+++ b/src/prefs_account_dialog.c
@@ -114,7 +114,7 @@ static struct Send {
GtkWidget *smtp_auth_type_optmenu;
GtkWidget *smtp_uid_entry;
GtkWidget *smtp_pass_entry;
- /* GtkWidget *pop_bfr_smtp_chkbtn; */
+ GtkWidget *pop_bfr_smtp_chkbtn;
} p_send;
static struct Compose {
@@ -287,7 +287,8 @@ static PrefsUIData ui_data[] = {
{"smtp_password", &p_send.smtp_pass_entry,
prefs_set_data_from_entry, prefs_set_entry},
- /* {"pop_before_smtp", NULL, NULL, NULL}, */
+ {"pop_before_smtp", &p_send.pop_bfr_smtp_chkbtn,
+ prefs_set_data_from_toggle, prefs_set_toggle},
/* Compose */
{"signature_type", &compose.sigfile_radiobtn,
@@ -1039,7 +1040,7 @@ static void prefs_account_send_create(void)
GtkWidget *smtp_uid_entry;
GtkWidget *smtp_pass_entry;
GtkWidget *vbox_spc;
- /* GtkWidget *pop_bfr_smtp_chkbtn; */
+ GtkWidget *pop_bfr_smtp_chkbtn;
vbox1 = gtk_vbox_new (FALSE, VSPACING);
gtk_widget_show (vbox1);
@@ -1167,11 +1168,8 @@ static void prefs_account_send_create(void)
SET_TOGGLE_SENSITIVITY (smtp_auth_chkbtn, vbox4);
-#if 0
PACK_CHECK_BUTTON (vbox3, pop_bfr_smtp_chkbtn,
_("Authenticate with POP3 before sending"));
- gtk_widget_set_sensitive(pop_bfr_smtp_chkbtn, FALSE);
-#endif
p_send.date_chkbtn = date_chkbtn;
p_send.msgid_chkbtn = msgid_chkbtn;
@@ -1181,7 +1179,7 @@ static void prefs_account_send_create(void)
p_send.smtp_auth_type_optmenu = optmenu;
p_send.smtp_uid_entry = smtp_uid_entry;
p_send.smtp_pass_entry = smtp_pass_entry;
- /* p_send.pop_bfr_smtp_chkbtn = pop_bfr_smtp_chkbtn; */
+ p_send.pop_bfr_smtp_chkbtn = pop_bfr_smtp_chkbtn;
}
static void prefs_account_compose_create(void)