* src/folderview.c
moved cache saving to folder_item_close
the folderview should not have to deal with
this things
+2002-11-13 [christoph] 0.8.5claws141
+
+ * src/folder.c
+ * src/folderview.c
+ moved cache saving to folder_item_close
+ the folderview should not have to deal with
+ this things
+
2002-11-13 [christoph] 0.8.5claws140
* src/summaryview.c
MICRO_VERSION=5
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=claws140
+EXTRA_VERSION=claws141
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
g_return_if_fail(item != NULL);
mlist = folder_item_get_msg_list(item);
-
for (cur = mlist ; cur != NULL ; cur = cur->next) {
MsgInfo * msginfo;
procmsg_msginfo_unset_flags(msginfo, MSG_NEW, 0);
procmsg_msginfo_free(msginfo);
}
+ g_slist_free(mlist);
+
+ folder_item_write_cache(olditem);
folder_update_item(item, FALSE);
- g_slist_free(mlist);
}
gint folder_item_scan(FolderItem *item)
olditem = gtk_ctree_node_get_row_data(ctree, folderview->opened);
if (olditem) {
/* will be null if we just moved the previously opened folder */
- folder_item_write_cache(olditem);
summary_save_prefs_to_folderitem(folderview->summaryview, olditem);
folder_item_close(olditem);
}