+2001-12-26 [alfons] 0.6.6claws23
+
+ * src/prefs_account.c
+ * src/inc.c
+ allow default inbox to reside in another mailbox (only
+ works for POP3 accounts)
+
2001-12-26 [alfons] 0.6.6claws22
* src/textview.c
gint val;
gint msgnum;
- /* get default inbox (perhaps per account) */
+ /* CLAWS: get default inbox (perhaps per account) */
if (state->ac_prefs->inbox) {
- inbox = folder_find_item_from_path(state->ac_prefs->inbox);
+ /* CLAWS: get destination folder / mailbox */
+ inbox = folder_find_item_from_identifier(state->ac_prefs->inbox);
if (!inbox)
inbox = folder_get_default_inbox();
} else
return -1;
}
+ /* CLAWS: claws uses a global .processing folder for the filtering. */
if (global_processing == NULL) {
- /* old filtering */
if (state->ac_prefs->filter_on_recv) {
dropfolder =
filter_get_dest_folder(prefs_common.fltlist, file);
} else
dropfolder = inbox;
} else {
- /* CLAWS: new filtering */
dropfolder = folder_get_default_processing();
}
static void prefs_account_select_inbox_cb(void)
{
FolderItem *item;
+ gchar *path;
item = foldersel_folder_sel(NULL, NULL);
- if (item)
- gtk_entry_set_text(GTK_ENTRY(receive.inbox_entry), item->path);
+ if (item) {
+ path = folder_item_get_identifier(item);
+ gtk_entry_set_text(GTK_ENTRY(receive.inbox_entry), path);
+ g_free(path);
+ }
}
static void prefs_account_edit_custom_header(void)