aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2009-01-29 23:32:22 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2009-01-29 23:32:22 +0800
commitadbaeb58882b92004e6301575463f56466f20310 (patch)
tree87a45a2fb25d0a863bc1e00f840bcac648a26be1 /mail
parent1b43d4200b3e05da66a1dd036308037ef08e59e8 (diff)
downloadgsoc2013-evolution-adbaeb58882b92004e6301575463f56466f20310.tar
gsoc2013-evolution-adbaeb58882b92004e6301575463f56466f20310.tar.gz
gsoc2013-evolution-adbaeb58882b92004e6301575463f56466f20310.tar.bz2
gsoc2013-evolution-adbaeb58882b92004e6301575463f56466f20310.tar.lz
gsoc2013-evolution-adbaeb58882b92004e6301575463f56466f20310.tar.xz
gsoc2013-evolution-adbaeb58882b92004e6301575463f56466f20310.tar.zst
gsoc2013-evolution-adbaeb58882b92004e6301575463f56466f20310.zip
** Fix for bug #562449
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. svn path=/trunk/; revision=37170
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-folder-view.c12
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);
}