* src/prefs_account.c
Prevent use of non-existing default inbox
+2006-12-11 [colin] 2.6.1cvs15
+
+ * src/prefs_account.c
+ Prevent use of non-existing default inbox
+
2006-12-11 [colin] 2.6.1cvs14
* src/prefs_account.c
( cvs diff -u -r 1.12.2.39 -r 1.12.2.40 src/action.c; ) > 2.6.1cvs12.patchset
( cvs diff -u -r 1.1.2.35 -r 1.1.2.36 manual/advanced.xml; cvs diff -u -r 1.204.2.111 -r 1.204.2.112 src/prefs_common.c; cvs diff -u -r 1.103.2.69 -r 1.103.2.70 src/prefs_common.h; cvs diff -u -r 1.4.2.14 -r 1.4.2.15 src/common/ssl_certificate.c; ) > 2.6.1cvs13.patchset
( cvs diff -u -r 1.105.2.70 -r 1.105.2.71 src/prefs_account.c; ) > 2.6.1cvs14.patchset
+( cvs diff -u -r 1.105.2.71 -r 1.105.2.72 src/prefs_account.c; ) > 2.6.1cvs15.patchset
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=14
+EXTRA_VERSION=15
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
alertpanel_error(_("POP3 server is not entered."));
return -1;
}
+ if (protocol == A_POP3) {
+ const gchar *mailbox = gtk_entry_get_text(GTK_ENTRY(receive.inbox_entry));
+ FolderItem *inbox = folder_find_item_from_identifier(mailbox);
+ if (inbox == NULL) {
+ alertpanel_error(_("The default inbox folder doesn't exist."));
+ return -1;
+ }
+ }
if (protocol == A_IMAP4 &&
*gtk_entry_get_text(GTK_ENTRY(basic.recvserv_entry)) == '\0') {
alertpanel_error(_("IMAP4 server is not entered."));