alertpanel_error(_("POP3 server is not entered."));
return -1;
}
+ if (protocol == A_POP3 || protocol == A_LOCAL) {
+ 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."));
if (id != NULL && strcmp(id, prefsid) == 0) {
found = TRUE;
gtk_option_menu_set_history(GTK_OPTION_MENU(optionmenu), i);
+ privacy_system_activated(GTK_MENU_ITEM(item));
}
i++;
}
g_free(name);
gtk_option_menu_set_history(GTK_OPTION_MENU(optionmenu), i);
+ privacy_system_activated(GTK_MENU_ITEM(menuitem));
}
g_list_free(children);