diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-08-23 05:26:54 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-08-23 05:26:54 +0000 |
commit | 7de5427f26c37a13732399728a9e5f826f86a597 (patch) | |
tree | 2e2304e081aa7ce62597cb60c0b7da4ce461d795 /src | |
parent | 50eeb3d818c7c36f03d0c195c48528c2cd2731ee (diff) |
supported PLAIN authentication on IMAP4.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1129 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/prefs_account_dialog.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/prefs_account_dialog.c b/src/prefs_account_dialog.c index c8946bb2..5198bb07 100644 --- a/src/prefs_account_dialog.c +++ b/src/prefs_account_dialog.c @@ -952,6 +952,7 @@ static void prefs_account_receive_create(void) MENUITEM_ADD (optmenu_menu, menuitem, _("Automatic"), 0); MENUITEM_ADD (optmenu_menu, menuitem, "LOGIN", IMAP_AUTH_LOGIN); + MENUITEM_ADD (optmenu_menu, menuitem, "PLAIN", IMAP_AUTH_PLAIN); MENUITEM_ADD (optmenu_menu, menuitem, "CRAM-MD5", IMAP_AUTH_CRAM_MD5); gtk_option_menu_set_menu (GTK_OPTION_MENU (optmenu), optmenu_menu); @@ -2016,9 +2017,12 @@ static void prefs_account_imap_auth_type_set_optmenu(PrefParam *pparam) case IMAP_AUTH_LOGIN: gtk_option_menu_set_history(optmenu, 1); break; - case IMAP_AUTH_CRAM_MD5: + case IMAP_AUTH_PLAIN: gtk_option_menu_set_history(optmenu, 2); break; + case IMAP_AUTH_CRAM_MD5: + gtk_option_menu_set_history(optmenu, 3); + break; case 0: default: gtk_option_menu_set_history(optmenu, 0); |