aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-20 07:49:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-20 07:49:11 +0800
commitadd469da501e0c9519a87cd8405f435e2bfc102a (patch)
treee9e0f4b26aaf943fc9e7e7dd81c89cf49d5349b4
parentc4653ec14363993c4c07b76c6b599ad85d07eaeb (diff)
downloadgsoc2013-evolution-add469da501e0c9519a87cd8405f435e2bfc102a.tar
gsoc2013-evolution-add469da501e0c9519a87cd8405f435e2bfc102a.tar.gz
gsoc2013-evolution-add469da501e0c9519a87cd8405f435e2bfc102a.tar.bz2
gsoc2013-evolution-add469da501e0c9519a87cd8405f435e2bfc102a.tar.lz
gsoc2013-evolution-add469da501e0c9519a87cd8405f435e2bfc102a.tar.xz
gsoc2013-evolution-add469da501e0c9519a87cd8405f435e2bfc102a.tar.zst
gsoc2013-evolution-add469da501e0c9519a87cd8405f435e2bfc102a.zip
Here too.
2001-09-19 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (receive_update_got_store): Here too. * component-factory.c (create_view): Call mail_note_store() instead of mail_scan_subfolders() here so that these folders get hooked up with the unread count code. svn path=/trunk/; revision=12999
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/component-factory.c2
-rw-r--r--mail/mail-send-recv.c3
3 files changed, 11 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b67ef0b888..6af11e32e9 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,11 @@
+2001-09-19 Jeffrey Stedfast <fejj@ximian.com>
+
+ * mail-send-recv.c (receive_update_got_store): Here too.
+
+ * component-factory.c (create_view): Call mail_note_store()
+ instead of mail_scan_subfolders() here so that these folders get
+ hooked up with the unread count code.
+
2001-09-12 Iain Holmes <iain@ximian.com>
* importers/evolution-mbox-importer.c (load_file_fn): Fix memory leak.
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 2f9913078d..89f5731a80 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -157,7 +157,7 @@ create_view (EvolutionShellComponent *shell_component,
}
if (!gtk_object_get_data (GTK_OBJECT (storage), "connected"))
- mail_scan_subfolders (CAMEL_STORE (store), storage);
+ mail_note_store (CAMEL_STORE (store));
camel_object_unref (CAMEL_OBJECT (store));
control = create_noselect_control ();
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 0b5b187c05..c1938eafb7 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -48,6 +48,7 @@
#include "mail-tools.h"
#include "mail-ops.h"
#include "mail-send-recv.h"
+#include "mail-folder-cache.h"
#define d(x)
@@ -601,7 +602,7 @@ receive_update_got_store (char *uri, CamelStore *store, void *data)
if (storage) {
if (!gtk_object_get_data (GTK_OBJECT (storage), "connected"))
- mail_scan_subfolders (store, storage);
+ mail_note_store (store);
mail_update_subfolders (store, storage, receive_update_done, info);
bonobo_object_unref (BONOBO_OBJECT (storage));