[evolution-data-server] Bug #633919 - Stuck on Mark messages as read
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #633919 - Stuck on Mark messages as read
- Date: Thu, 4 Nov 2010 10:56:18 +0000 (UTC)
commit 908b3278bc2b0389fe6d8061d5853c38d2271539
Author: Milan Crha <mcrha redhat com>
Date: Thu Nov 4 11:55:44 2010 +0100
Bug #633919 - Stuck on Mark messages as read
camel/camel-folder.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index b3a16ec..828a78c 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -2677,6 +2677,13 @@ camel_folder_changed (CamelFolder *folder,
g_return_if_fail (CAMEL_IS_FOLDER (folder));
g_return_if_fail (changes != NULL);
+ if (camel_folder_is_frozen (folder)) {
+ /* folder_changed() will catch this case and pile
+ the changes into folder->changed_frozen */
+ g_signal_emit (folder, signals[CHANGED], 0, changes);
+ return;
+ }
+
data = g_slice_new0 (SignalData);
data->folder = g_object_ref (folder);
data->changes = camel_folder_change_info_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]