aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-05-19 14:06:35 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-05-19 14:06:35 +0800
commit16eefad8858f0821257487aa1a6ac970708fd972 (patch)
tree8b5a0b36c9c0b0f454e10c371c68fe19954ad0ce /mail/em-folder-browser.c
parentc780968accce9d39e56b2ac21d0c751e1c2b0a91 (diff)
downloadgsoc2013-evolution-16eefad8858f0821257487aa1a6ac970708fd972.tar.gz
gsoc2013-evolution-16eefad8858f0821257487aa1a6ac970708fd972.tar.zst
gsoc2013-evolution-16eefad8858f0821257487aa1a6ac970708fd972.zip
fix rodney's name choices. fix multiple-inclusion. fix forward references.
2005-05-19 Not Zed <NotZed@Ximian.com> * em-folder-utils.h: fix rodney's name choices. fix multiple-inclusion. fix forward references. fix all callers. add many fixme's for the busted api's. * em-format-quote.c (emfq_format_clone): use pseudo mime type to find message formatter. * em-format-html-display.c (efhd_format_message): remove, it didn't do anything. * em-format-html.c (efh_format_message): make this a handler callback. * em-format.c (emf_message_rfc822): make this use the pseudo mime-type x-evolution/message/rfc822 instead of the hardcoded format_message callback. * em-format-html-display.c (efhd_message_prefix): make this use a pseudo-mime-type handler rather than hard-coded, so it can be overridden by a plugin. svn path=/trunk/; revision=29382
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c20
1 files changed, 14 insertions, 6 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 257ac8ad38..c93c027bf7 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -576,13 +576,16 @@ emfb_folder_copy(BonoboUIComponent *uid, void *data, const char *path)
CamelFolderInfo *fi = NULL;
CamelException ex;
+ /* FIXME: This function MUST become multi-threaded.
+ FIXME: This interface should NOT use a folderinfo */
+
camel_exception_init (&ex);
if ((fi = camel_store_get_folder_info (emfb->view.folder->parent_store,
emfb->view.folder->full_name,
CAMEL_STORE_FOLDER_INFO_FAST,
&ex)) != NULL)
- emfu_copy_folder (fi);
+ em_folder_utils_copy_folder (fi);
camel_exception_clear (&ex);
@@ -598,11 +601,14 @@ emfb_folder_move(BonoboUIComponent *uid, void *data, const char *path)
camel_exception_init (&ex);
+ /* FIXME: This function MUST become multi-threaded.
+ FIXME: This interface should NOT use a folderinfo */
+
if ((fi = camel_store_get_folder_info (emfb->view.folder->parent_store,
emfb->view.folder->full_name,
CAMEL_STORE_FOLDER_INFO_FAST,
&ex)) != NULL)
- emfu_move_folder (fi);
+ em_folder_utils_move_folder (fi);
camel_exception_clear (&ex);
@@ -614,7 +620,7 @@ emfb_folder_delete(BonoboUIComponent *uid, void *data, const char *path)
{
EMFolderBrowser *emfb = data;
- emfu_delete_folder (emfb->view.folder);
+ em_folder_utils_delete_folder (emfb->view.folder);
return;
}
@@ -624,7 +630,7 @@ emfb_folder_rename(BonoboUIComponent *uid, void *data, const char *path)
{
EMFolderBrowser *emfb = data;
- emfu_rename_folder (emfb->view.folder);
+ em_folder_utils_rename_folder (emfb->view.folder);
return;
}
@@ -638,14 +644,16 @@ emfb_folder_create(BonoboUIComponent *uid, void *data, const char *path)
camel_exception_init (&ex);
+ /* FIXME: This function MUST be multithreaded
+ FIXME: This interface should NOT use a folderinfo */
if (emfb->view.folder) {
if ((fi = camel_store_get_folder_info (emfb->view.folder->parent_store,
emfb->view.folder->full_name,
CAMEL_STORE_FOLDER_INFO_FAST,
&ex)) != NULL)
- emfu_folder_create (fi);
+ em_folder_utils_create_folder(fi);
} else {
- emfu_folder_create (NULL);
+ em_folder_utils_create_folder(NULL);
}