diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-09-02 06:11:47 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-09-02 06:11:47 +0800 |
commit | 61230561ce082a5f604201748caa7942668ec46a (patch) | |
tree | 8dffa1e438572f5067dd0fc21d9e5071057d819a /mail/component-factory.c | |
parent | 9a58a069bb9f8a6f130509786d1c95af7f3d225c (diff) | |
download | gsoc2013-evolution-61230561ce082a5f604201748caa7942668ec46a.tar.gz gsoc2013-evolution-61230561ce082a5f604201748caa7942668ec46a.tar.zst gsoc2013-evolution-61230561ce082a5f604201748caa7942668ec46a.zip |
New convenience function to load the Outbox folder
2000-09-01 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (mail_do_setup_outbox): New convenience function to
load the Outbox folder
(mail_do_setup_sentbox): Same, but for Sentbox.
(do_send_mail): Now saves messages in Sentbox if sent successfully
* component-factory.c: Added outbox_folder and sent_folder
(owner_set_cb): Call our new convenience functions to load Outbox
and Sentbox
svn path=/trunk/; revision=5172
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r-- | mail/component-factory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c index 08dd3f73fc..db6e86118d 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -43,6 +43,8 @@ #include "component-factory.h" CamelFolder *drafts_folder = NULL; +CamelFolder *outbox_folder = NULL; +CamelFolder *sentbox_folder = NULL; /* this one should be configurable? */ char *evolution_dir; static void create_vfolder_storage (EvolutionShellComponent *shell_component); @@ -116,6 +118,8 @@ owner_set_cb (EvolutionShellComponent *shell_component, mail_config_init (); mail_do_setup_draftbox (); + mail_do_setup_outbox (); + mail_do_setup_sentbox (); create_vfolder_storage (shell_component); corba_shell = bonobo_object_corba_objref (BONOBO_OBJECT (shell_client)); |