diff options
author | Dan Winship <danw@src.gnome.org> | 2000-08-11 04:26:41 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-08-11 04:26:41 +0800 |
commit | 44b1cb734d895fc1a287a651101a6446af261697 (patch) | |
tree | 171e87db2b04a719e72b2e7a787199431ac994af /mail/mail-ops.c | |
parent | 5bf17131df95ad49d7a98768b05177092ad2a618 (diff) | |
download | gsoc2013-evolution-44b1cb734d895fc1a287a651101a6446af261697.tar.gz gsoc2013-evolution-44b1cb734d895fc1a287a651101a6446af261697.tar.zst gsoc2013-evolution-44b1cb734d895fc1a287a651101a6446af261697.zip |
Add a "gboolean create" argument to pass to camel_store_get_folder.
* mail-tools.c (mail_tool_get_folder_from_urlname): Add a
"gboolean create" argument to pass to camel_store_get_folder.
* mail-ops.c (do_create_folder, do_setup_draftbox):
* mail-local.c (mail_tool_local_uri_to_folder):
* mail-vfolder.c (vfolder_uri_to_folder): Add create flag to
mail_tool_get_folder_from_urlname calls.
svn path=/trunk/; revision=4702
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r-- | mail/mail-ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 555fd53ec9..e732f887c6 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -1337,7 +1337,7 @@ do_create_folder (gpointer in_data, gpointer op_data, CamelException * ex) else { camel_url = g_strdup_printf ("mbox://%s", input->uri); folder = mail_tool_get_folder_from_urlname (camel_url, - "mbox", ex); + "mbox", TRUE, ex); g_free (camel_url); if (!camel_exception_is_set (ex)) { @@ -1747,7 +1747,7 @@ do_setup_draftbox (gpointer in_data, gpointer op_data, CamelException * ex) gchar *url; url = g_strdup_printf ("mbox://%s/local/Drafts", evolution_dir); - drafts_folder = mail_tool_get_folder_from_urlname (url, "mbox", ex); + drafts_folder = mail_tool_get_folder_from_urlname (url, "mbox", TRUE, ex); g_free (url); } |