evolution r37170 - trunk/mail
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r37170 - trunk/mail
- Date: Thu, 29 Jan 2009 15:32:22 +0000 (UTC)
Author: sragavan
Date: Thu Jan 29 15:32:22 2009
New Revision: 37170
URL: http://svn.gnome.org/viewvc/evolution?rev=37170&view=rev
Log:
2009-01-29 Srinivasa Ragavan <sragavan novell com>
** Fix for bug #562449
* em-folder-view.c: (em_folder_view_mark_selected),
(emfv_delete_msg_response): Don't emit for vfolders.
Modified:
trunk/mail/ChangeLog
trunk/mail/em-folder-view.c
Modified: trunk/mail/em-folder-view.c
==============================================================================
--- trunk/mail/em-folder-view.c (original)
+++ trunk/mail/em-folder-view.c Thu Jan 29 15:32:22 2009
@@ -475,13 +475,15 @@
return 0;
uids = message_list_get_selected(emfv->list);
- camel_folder_freeze(emfv->folder);
+ if (!CAMEL_IS_VEE_FOLDER(emfv->folder))
+ camel_folder_freeze(emfv->folder);
for (i=0; i<uids->len; i++)
camel_folder_set_message_flags(emfv->folder, uids->pdata[i], mask, set);
message_list_free_uids(emfv->list, uids);
- camel_folder_thaw(emfv->folder);
+ if (!CAMEL_IS_VEE_FOLDER(emfv->folder))
+ camel_folder_thaw(emfv->folder);
return i;
}
@@ -1076,7 +1078,8 @@
}
uids = message_list_get_selected(emfv->list);
- camel_folder_freeze(emfv->folder);
+ if (!CAMEL_IS_VEE_FOLDER(emfv->folder))
+ camel_folder_freeze(emfv->folder);
for (count=0; count < uids->len; count++) {
if (camel_folder_get_message_flags (emfv->folder, uids->pdata[count]) & CAMEL_MESSAGE_USER_NOT_DELETABLE) {
@@ -1099,7 +1102,8 @@
}
message_list_free_uids(emfv->list, uids);
- camel_folder_thaw(emfv->folder);
+ if (!CAMEL_IS_VEE_FOLDER(emfv->folder))
+ camel_folder_thaw(emfv->folder);
emfv_select_next_message (emfv, count, FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]