From ee5eeb1dd21eee94538ffafe27cb58bc80d0d306 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 18 Oct 2000 06:13:12 +0000 Subject: No, we REALLY dont want to perform an immediate search as the keys are 2000-10-18 Not Zed * 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 --- mail/mail-tools.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail/mail-tools.h') diff --git a/mail/mail-tools.h b/mail/mail-tools.h index 1178921bb7..da5c0af8ff 100644 --- a/mail/mail-tools.h +++ b/mail/mail-tools.h @@ -35,13 +35,13 @@ void mail_tool_camel_lock_down (void); /* Get a CamelFolder from a root url and a foldername (uses the global session)*/ CamelFolder * mail_tool_get_folder_from_urlname (const gchar *url, const gchar *name, - gboolean create, CamelException *ex); + guint32 flags, CamelException *ex); /* Get a useful name for a given CamelFolder (ie, not "mbox") */ const gchar *mail_tool_get_folder_name (CamelFolder *folder); -/* Get the url for the local inbox */ -gchar *mail_tool_get_local_inbox_url (void); +/* Get the url for the local inbox, index returns if the mailbox is indexed */ +gchar *mail_tool_get_local_inbox_url (int *index); /* Get the filename for our movemail folder or storage */ gchar *mail_tool_get_local_movemail_path (void); -- cgit