aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-16 07:54:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-16 07:54:16 +0800
commit7ac8a9c5e8bc272a75bed0c2509b525b907753ba (patch)
tree46e44dc67e27ad504ed94f4a148d4c9c8489b266 /mail/mail-callbacks.h
parentf89ca302d1bc8cdd0a988121523928b80366441a (diff)
downloadgsoc2013-evolution-7ac8a9c5e8bc272a75bed0c2509b525b907753ba.tar.gz
gsoc2013-evolution-7ac8a9c5e8bc272a75bed0c2509b525b907753ba.tar.zst
gsoc2013-evolution-7ac8a9c5e8bc272a75bed0c2509b525b907753ba.zip
Use mail_storage_create_folder
2001-02-15 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (do_scan_subfolders): Use mail_storage_create_folder * mail-callbacks.c (mail_storage_create_folder): Convenience function so we can keep all the evolution_storage_add_new_folder() code in one place as much as possible. * subscribe-dialog.c (recursive_add_folder): Use 'name' rather than the no-description bs since that's what all the other places do. * mail-callbacks.c (folder_created): New callback to handle the "folder_created" signal - handles CamelFolderInfo's recursively. (folder_deleted): Same but for "folder_deleted". * component-factory.c (storage_create_folder): Instead of doing the evolution_storage_new_folder() stuff by hand, pass it off to the new callback: folder_created(). At some point this will be unecessary as we'll attach this callback to the "folder_created" signal. svn path=/trunk/; revision=8247
Diffstat (limited to 'mail/mail-callbacks.h')
-rw-r--r--mail/mail-callbacks.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mail/mail-callbacks.h b/mail/mail-callbacks.h
index d6e94b4c2b..e888d47899 100644
--- a/mail/mail-callbacks.h
+++ b/mail/mail-callbacks.h
@@ -27,6 +27,7 @@
#include <camel/camel.h>
#include "composer/e-msg-composer.h"
#include "mail-types.h"
+#include "evolution-storage.h"
#ifdef __cplusplus
extern "C" {
@@ -85,6 +86,13 @@ void forward_messages (CamelFolder *folder, GPtrArray *uids, gboolean inline)
void mail_print_preview_msg (MailDisplay *md);
void mail_print_msg (MailDisplay *md);
+
+/* CamelStore callbacks */
+void folder_created (CamelStore *store, CamelFolderInfo *fi);
+void folder_deleted (CamelStore *store, CamelFolderInfo *fi);
+
+void mail_storage_create_folder (EvolutionStorage *storage, CamelStore *store, CamelFolderInfo *fi);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */
span class='deletions'>-1/+6 * - Fix LIB_DEPENDS for wxgtk24-contrib portfjoe2005-05-221-1/+1 * Finish repo copy of wxgtk 2.4.2 ports to wxgtk24*fjoe2005-05-135-131/+447 * At Kris's request, back out the MACHINE_ARCH spelling correction untilobrien2005-04-121-1/+1 * Assist getting more ports working on AMD64 by obeying theobrien2005-04-111-1/+1 * Remove dead MASTER_SITE.fjoe2005-03-291-2/+1 * - wx-config now points to wxgtk2-2.4.configfjoe2004-08-013-3/+2 * Add missing dependency on jpeg.9.fjoe2004-04-071-0/+1 * wxWindows -> wxWidgetsfjoe2004-04-062-4/+4 * - Use USE_ICONV knobkrion2004-03-311-2/+2 * - Provide a different fix for gnome.fjoe2004-02-042-10/+9 * Set {WANT,USE}_GNOME correctly to make these ports compatible with the newmarcus2004-02-041-0/+2 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-1/+1 * PORTREVISION was set to wrong value after port was moved from wxgtk-devel [1].fjoe2003-11-111-3/+2 * BROKEN -> IGNORE for wxgtk2-unicode on FreeBSD 4.xfjoe2003-11-101-1/+1 * Fix notebook labels for GTK2 flavor.fjoe2003-11-101-0/+11 * Fix deps: wxgtk-devel was moved to wxgtk.fjoe2003-11-101-1/+1 * PORTREVISION should not be reset in previous commit.fjoe2003-11-101-1/+1 * Update to 2.4.2.fjoe2003-11-101-0/+11 * Update to 2.4.2.fjoe2003-11-1019-615/+467 * Let be hohest: I really don't have a time now to properly maintain allsobomax2003-07-291-1/+1 * Remove USE_GNOMENG.marcus2003-04-211-1/+0 * Attempt to nail down strange problems people are reporting usiallysobomax2003-04-141-3/+6 * Clear moonlight beckons.ade2003-03-072-1/+1 * Fix bison-1.75 syntax error.cy2002-12-151-0/+10 * Fix PLIST.sobomax2002-10-011-1/+0 * Update to 2.2.9.sobomax2002-09-099-145/+142 * Deploy USE_GNOMENG infrastructurelioux2002-09-021-1/+2 * Fix grammar and spelling.sobomax2002-01-311-1/+1 * Bump png majorache2001-09-111-1/+1 * Downgrade to 2.2.7 and bump PORTEPOCH. It appears that version 2.3.0 to whichsobomax2001-07-235-87/+40 * Update to 2.3.0.sobomax2001-05-297-25/+208 * - Update to 2.2.7;sobomax2001-05-284-14/+40 * Drop MAINTAINERship.nectar2001-05-251-1/+1 * Upgrade to 2.2.6.vanilla2001-05-084-22/+18 * -pthread --> ${PTHREAD_LIBS}sobomax2001-03-301-3/+3 * Batch of style fixes for x11-toolkits.olgeni2001-02-061-1/+1 * Chase checksum ... the distfile was re-rolled without changingnectar2001-01-291-0/+1 * Update to 2.2.4.sobomax2001-01-183-11/+16 * Implement USE_GTK, part 2.reg2000-10-051-7/+9 * Update to 1.2.2.sobomax2000-09-262-4/+17 * Update 2.1.16 -> 2.2.1nectar2000-09-114-25/+50 * Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in theasami2000-06-171-1/+1 * Fix MASSIVE typo INSTALL_SHLIBS --> INSTALLS_SHLIBS, which occured because Isobomax2000-06-161-1/+1