diff options
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/em-folder-view.c | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 14f658f48c..e7c901a940 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,12 @@ 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. + +2009-01-29 Srinivasa Ragavan <sragavan@novell.com> + ** Fix for bug #567654 * message-list.c: (regen_list_exec): Don't free the reffable string. diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c index c9b05344fc..0936a5c8d6 100644 --- a/mail/em-folder-view.c +++ b/mail/em-folder-view.c @@ -475,13 +475,15 @@ em_folder_view_mark_selected(EMFolderView *emfv, guint32 mask, guint32 set) 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 @@ emfv_delete_msg_response (GtkWidget *dialog, int response, gpointer data) } 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 @@ emfv_delete_msg_response (GtkWidget *dialog, int response, gpointer data) } 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); } |