From 7de5427f26c37a13732399728a9e5f826f86a597 Mon Sep 17 00:00:00 2001 From: hiro Date: Wed, 23 Aug 2006 05:26:54 +0000 Subject: supported PLAIN authentication on IMAP4. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1129 ee746299-78ed-0310-b773-934348b2243d --- src/prefs_account_dialog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/prefs_account_dialog.c') 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); -- cgit v1.2.3