aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-10-18 14:13:12 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-10-18 14:13:12 +0800
commitee5eeb1dd21eee94538ffafe27cb58bc80d0d306 (patch)
tree795fa1429fd972b8439d6d5877f00952888655f7 /mail/mail-ops.c
parent229f78b929e0a9553b543f596a7643129d80b494 (diff)
downloadgsoc2013-evolution-ee5eeb1dd21eee94538ffafe27cb58bc80d0d306.tar
gsoc2013-evolution-ee5eeb1dd21eee94538ffafe27cb58bc80d0d306.tar.gz
gsoc2013-evolution-ee5eeb1dd21eee94538ffafe27cb58bc80d0d306.tar.bz2
gsoc2013-evolution-ee5eeb1dd21eee94538ffafe27cb58bc80d0d306.tar.lz
gsoc2013-evolution-ee5eeb1dd21eee94538ffafe27cb58bc80d0d306.tar.xz
gsoc2013-evolution-ee5eeb1dd21eee94538ffafe27cb58bc80d0d306.tar.zst
gsoc2013-evolution-ee5eeb1dd21eee94538ffafe27cb58bc80d0d306.zip
No, we REALLY dont want to perform an immediate search as the keys are
2000-10-18 Not Zed <NotZed@HelixCode.com> * folder-browser.c (folder_browser_gui_init): No, we REALLY dont want to perform an immediate search as the keys are pressed. * mail-display.c (on_object_requested): Kill a minor warning with a cast. * mail-config.c: Include mising ctype.h to kill a warning. * message-thread.c (main): Fixed the test case for api changes. * message-list.c (message_list_drag_data_get): Set some flags to get_folder(). I dont even think this will work because mail_tool_get_folder doesn't handle file url's. * mail-vfolder.c (vfolder_uri_to_folder): Pass appropriate flags. * mail-ops.c (do_setup_folder): Pass appropriate flags. Hmm, whats the difference between setup and create. *shrug* (do_create_folder): Pass appropriate flags to get_folder. Needs a way to specify the index flag. * mail-tools.c (mail_tool_get_folder_from_urlname): Changed create to flags argument. (mail_tool_get_local_inbox_url): Add an index argument. (mail_tool_get_local_inbox): honour index flag. (mail_tool_get_inbox): Changed for api change. (mail_tool_uri_to_folder): Fixed calls to store_get_folder(); * mail-local.c (load_metainfo): Added an indexed field to the metainfo. (save_metainfo): And save it too. (do_reconfigure_folder): Honour index flag when creating the new folder. Do not open the old folder with an index at all. (mail_local_map_uri): Add an index argument - tells if the mbox is indexed. (mail_tool_local_uri_to_folder): Create & pass flags properly. (#include gnome.h): Dont include all of gnome, just what we use, and explicity include xml-memory, so we get xmlFree(). svn path=/trunk/; revision=5979
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 851c7df634..11dff55b9a 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1881,8 +1881,10 @@ do_create_folder (gpointer in_data, gpointer op_data, CamelException *ex)
Evolution_ShellComponentListener_UNSUPPORTED_TYPE;
else {
camel_url = g_strdup_printf ("mbox://%s", input->uri);
+ /* FIXME: supply a way to make indexes optional */
folder = mail_tool_get_folder_from_urlname (camel_url,
- "mbox", TRUE, ex);
+ "mbox", CAMEL_STORE_FOLDER_CREATE
+ |CAMEL_STORE_FOLDER_BODY_INDEX, ex);
g_free (camel_url);
if (!camel_exception_is_set (ex)) {
@@ -2259,7 +2261,9 @@ do_setup_folder (gpointer in_data, gpointer op_data, CamelException *ex)
url = g_strdup_printf ("mbox://%s/local/%s", evolution_dir,
input->name);
*(input->folder) = mail_tool_get_folder_from_urlname (url, "mbox",
- TRUE, ex);
+ CAMEL_STORE_FOLDER_CREATE
+ |CAMEL_STORE_FOLDER_BODY_INDEX,
+ ex);
g_free (url);
}