aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-16 06:20:58 +0800
committerDan Winship <danw@src.gnome.org>2000-06-16 06:20:58 +0800
commit09cf0a78c465c7e746b84057ac3222d7e73032ee (patch)
tree13030132384bbe89bbdbef12257bf582c85de9c7
parentcd157eecb933748212bf87b41dcf5fa863e75fd5 (diff)
downloadgsoc2013-evolution-09cf0a78c465c7e746b84057ac3222d7e73032ee.tar
gsoc2013-evolution-09cf0a78c465c7e746b84057ac3222d7e73032ee.tar.gz
gsoc2013-evolution-09cf0a78c465c7e746b84057ac3222d7e73032ee.tar.bz2
gsoc2013-evolution-09cf0a78c465c7e746b84057ac3222d7e73032ee.tar.lz
gsoc2013-evolution-09cf0a78c465c7e746b84057ac3222d7e73032ee.tar.xz
gsoc2013-evolution-09cf0a78c465c7e746b84057ac3222d7e73032ee.tar.zst
gsoc2013-evolution-09cf0a78c465c7e746b84057ac3222d7e73032ee.zip
Update for CamelFolder changes.
* filter-driver.c (open_folder, close_folder): Update for CamelFolder changes. svn path=/trunk/; revision=3582
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-driver.c9
2 files changed, 6 insertions, 8 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index da0d2570c3..c8493d12c1 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-15 Dan Winship <danw@helixcode.com>
+
+ * filter-driver.c (open_folder, close_folder): Update for
+ CamelFolder changes.
+
2000-06-09 Jacob Berkman <jacob@helixcode.com>
* filter-editor.c (add_or_edit): use stock pixmap buttons
diff --git a/filter/filter-driver.c b/filter/filter-driver.c
index 7e72450f51..95078a8144 100644
--- a/filter/filter-driver.c
+++ b/filter/filter-driver.c
@@ -480,13 +480,6 @@ open_folder(FilterDriver *d, const char *folder_url)
goto fail;
}
- camel_folder_open(camelfolder, FOLDER_OPEN_RW, p->ex);
-
- if (camel_exception_get_id (p->ex)) {
- printf ("Could not open folder: %s: %s", folder, camel_exception_get_description (p->ex));
- goto fail;
- }
-
printf("opening folder: %s\n", folder_url);
g_free(store);
@@ -510,7 +503,7 @@ close_folder(void *key, void *value, void *data)
printf("closing folder: %s\n", key);
g_free(key);
- camel_folder_close(f, TRUE, p->ex);
+ camel_folder_sync(f, FALSE, p->ex);
gtk_object_unref((GtkObject *)f);
}