+2003-07-20 [christoph] 0.9.3claws36
+
+ * src/procmsg.c
+ fix wrong flags in MsgInfo returned by
+ procmsg_msginfo_get_full_info()
+
+ (closes Bug 221 Deleting messages from the Message View gives incorrect
+ new/unread message counts in the folder view)
+
+ * src/plugins/spamassassin/spamassassin_gtk.c
+ add gettext macro for prefs page title
+
2003-07-20 [paul] 0.9.3claws35
* src/mimeview.c
MICRO_VERSION=3
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=35
+EXTRA_VERSION=36
VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws${EXTRA_VERSION}
dnl set $target
static void remove_msginfo_from_cache(FolderItem *item, MsgInfo *msginfo)
{
if (!item->cache)
- folder_item_read_cache(item);
+ folder_item_read_cache(item);
if (MSG_IS_NEW(msginfo->flags) && !MSG_IS_IGNORE_THREAD(msginfo->flags))
msginfo->folder->new_msgs--;
num = GPOINTER_TO_INT(l2->data);
l2 = g_slist_next(l2);
-
+
if ((num >= 0) && (item->folder->klass->remove_msg != NULL)) {
item->folder->klass->remove_msg(item->folder,
msginfo->folder,
gint plugin_init(gchar **error)
{
- spamassassin_page.page.path = "Filtering/SpamAssassin";
+ spamassassin_page.page.path = _("Filtering/SpamAssassin");
spamassassin_page.page.create_widget = spamassassin_create_widget_func;
spamassassin_page.page.destroy_widget = spamassassin_destroy_widget_func;
spamassassin_page.page.save_page = spamassassin_save_func;
MsgInfo *procmsg_msginfo_get_full_info(MsgInfo *msginfo)
{
+#if 0
MsgInfo *full_msginfo;
gchar *file;
+#endif
if (msginfo == NULL) return NULL;
+ /*
+ * In Claws we simply return a new reference to the same msginfo.
+ * otherwise the new msginfo has wrong flags and causes incorrect
+ * msgcounts... TODO: fill in data from full_msginfo into msginfo,
+ * we can then keep the new data in the cache
+ */
+ return procmsg_msginfo_new_ref(msginfo);
+#if 0
file = procmsg_get_message_file(msginfo);
if (!file) {
g_warning("procmsg_msginfo_get_full_info(): can't get message file.\n");
procmsg_msginfo_set_to_folder(full_msginfo, msginfo->to_folder);
return full_msginfo;
+#endif
}
void procmsg_msginfo_free(MsgInfo *msginfo)