evolution r37169 - branches/gnome-2-24/mail
- From: sragavan svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r37169 - branches/gnome-2-24/mail
- Date: Thu, 29 Jan 2009 15:31:55 +0000 (UTC)
Author: sragavan
Date: Thu Jan 29 15:31:55 2009
New Revision: 37169
URL: http://svn.gnome.org/viewvc/evolution?rev=37169&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): Dont emit for vfolders
Modified:
branches/gnome-2-24/mail/ChangeLog
branches/gnome-2-24/mail/em-folder-view.c
Modified: branches/gnome-2-24/mail/em-folder-view.c
==============================================================================
--- branches/gnome-2-24/mail/em-folder-view.c (original)
+++ branches/gnome-2-24/mail/em-folder-view.c Thu Jan 29 15:31:55 2009
@@ -478,13 +478,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;
}
@@ -1079,7 +1081,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) {
@@ -1102,7 +1105,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]