aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-12-24 09:03:14 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-12-24 09:03:14 +0800
commitfba04bdda76968d230a37b0925fa0d176c755b60 (patch)
tree758dc853a6f1adfe6421f5211c013dbb82bbbbbe /mail/folder-browser.c
parent5674966eeb7eecfa109ad419f1c997dba69ff0af (diff)
downloadgsoc2013-evolution-fba04bdda76968d230a37b0925fa0d176c755b60.tar.gz
gsoc2013-evolution-fba04bdda76968d230a37b0925fa0d176c755b60.tar.zst
gsoc2013-evolution-fba04bdda76968d230a37b0925fa0d176c755b60.zip
Merge from camel-mt-branch.
2000-12-24 Not Zed <NotZed@HelixCode.com> * Merge from camel-mt-branch. svn path=/trunk/; revision=7153
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 829848650c..5a94c91ba9 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -555,7 +555,7 @@ static gint
on_right_click (ETable *table, gint row, gint col, GdkEvent *event, FolderBrowser *fb)
{
extern CamelFolder *drafts_folder;
- const CamelMessageInfo *info;
+ CamelMessageInfo *info;
GPtrArray *uids;
int enable_mask = 0;
int last_item, i;
@@ -668,6 +668,8 @@ on_right_click (ETable *table, gint row, gint col, GdkEvent *event, FolderBrowse
else
have_undeleted = TRUE;
+ camel_folder_free_message_info(fb->folder, info);
+
if (have_seen && have_unseen && have_deleted && have_undeleted)
break;
}
@@ -852,15 +854,11 @@ static gint
mark_msg_seen (gpointer data)
{
MessageList *ml = data;
- GPtrArray *uids;
if (!ml->cursor_uid)
return FALSE;
-
- uids = g_ptr_array_new ();
- g_ptr_array_add (uids, g_strdup (ml->cursor_uid));
- mail_do_flag_messages (ml->folder, uids, FALSE,
- CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_SEEN);
+
+ camel_folder_set_message_flags(ml->folder, ml->cursor_uid, CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_SEEN);
return FALSE;
}