diff options
author | 0 <NotZed@Ximian.com> | 2001-09-21 05:01:53 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-09-21 05:01:53 +0800 |
commit | 412c2967bb93845e152022aefac70ad93571a288 (patch) | |
tree | 55d48f12679eb94191862e454eb87f9faa725796 /mail/component-factory.c | |
parent | b5bf3f9615b040be5f9d7402a861b1c44dfd18c4 (diff) | |
download | gsoc2013-evolution-412c2967bb93845e152022aefac70ad93571a288.tar.gz gsoc2013-evolution-412c2967bb93845e152022aefac70ad93571a288.tar.zst gsoc2013-evolution-412c2967bb93845e152022aefac70ad93571a288.zip |
Register vfolder sources here.
2001-09-20 <NotZed@Ximian.com>
* mail-tools.c(mail_tool_uri_to_folder): Register vfolder sources here.
* folder-browser.c (got_folder): Dont register vfolder sources
here.
* mail-ops.c (mail_get_folder): Add thread parameter. Fix callers.
* mail-vfolder.c (vfolder_setup): Use the 'slow' queue for setting
up vfolders.
* mail-mt.c (mail_msg_init): Limit the maximum number of threads
on the 'new' thread to 10.
(mail_msg_init): Create a new queue 'slow' for doing slow
operations.
svn path=/trunk/; revision=13017
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r-- | mail/component-factory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c index 89f5731a80..6965b004e6 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -207,7 +207,7 @@ create_folder (EvolutionShellComponent *shell_component, CORBA_exception_init (&ev); if (!strcmp (type, "mail")) { - mail_get_folder (physical_uri, create_folder_done, CORBA_Object_duplicate (listener, &ev)); + mail_get_folder(physical_uri, create_folder_done, CORBA_Object_duplicate (listener, &ev), mail_thread_new); } else { GNOME_Evolution_ShellComponentListener_notifyResult ( listener, GNOME_Evolution_ShellComponentListener_UNSUPPORTED_TYPE, &ev); @@ -665,7 +665,7 @@ owner_set_cb (EvolutionShellComponent *shell_component, for (i = 0; i < sizeof (standard_folders) / sizeof (standard_folders[0]); i++) { *standard_folders[i].uri = g_strdup_printf ("file://%s/local/%s", evolution_dir, standard_folders[i].name); - mail_msg_wait (mail_get_folder (*standard_folders[i].uri, got_folder, standard_folders[i].folder)); + mail_msg_wait(mail_get_folder(*standard_folders[i].uri, got_folder, standard_folders[i].folder, mail_thread_new)); } mail_session_enable_interaction (TRUE); |