aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-utils.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-utils.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-utils.c')
-rw-r--r--mail/em-folder-utils.c21
1 files changed, 15 insertions, 6 deletions
diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c
index 32ebb59a73..844f4b8bb5 100644
--- a/mail/em-folder-utils.c
+++ b/mail/em-folder-utils.c
@@ -353,8 +353,10 @@ emfu_copy_folder_exclude(EMFolderTree *tree, GtkTreeModel *model, GtkTreeIter *i
return (flags & EMFT_EXCLUDE_NOINFERIORS) == 0;
}
+/* FIXME: this interface references the folderinfo without copying it */
+/* FIXME: these functions must be documented */
void
-emfu_copy_folder (CamelFolderInfo *folderinfo)
+em_folder_utils_copy_folder (CamelFolderInfo *folderinfo)
{
struct _copy_folder_data *cfd;
@@ -366,11 +368,14 @@ emfu_copy_folder (CamelFolderInfo *folderinfo)
NULL, emfu_copy_folder_exclude,
emfu_copy_folder_selected, cfd);}
+
+/* FIXME: this interface references the folderinfo without copying it */
+/* FIXME: these functions must be documented */
void
-emfu_move_folder (CamelFolderInfo *folderinfo)
+em_folder_utils_move_folder (CamelFolderInfo *folderinfo)
{
struct _copy_folder_data *cfd;
-
+
cfd = g_malloc (sizeof (*cfd));
cfd->fi = folderinfo;
cfd->delete = TRUE;
@@ -463,8 +468,9 @@ emfu_delete_response (GtkWidget *dialog, int response, gpointer data)
gtk_widget_destroy (dialog);
}
+/* FIXME: these functions must be documented */
void
-emfu_delete_folder (CamelFolder *folder)
+em_folder_utils_delete_folder (CamelFolder *folder)
{
CamelStore *local;
GtkWidget *dialog;
@@ -487,8 +493,10 @@ emfu_delete_folder (CamelFolder *folder)
gtk_widget_show (dialog);
}
+/* FIXME: this must become threaded */
+/* FIXME: these functions must be documented */
void
-emfu_rename_folder (CamelFolder *folder)
+em_folder_utils_rename_folder (CamelFolder *folder)
{
char *prompt, *new_name;
const char *p;
@@ -727,8 +735,9 @@ emfu_popup_new_folder_response (EMFolderSelector *emfs, int response, gpointer d
camel_exception_clear (&ex);
}
+/* FIXME: these functions must be documented */
void
-emfu_folder_create (CamelFolderInfo *folderinfo) {
+em_folder_utils_create_folder (CamelFolderInfo *folderinfo) {
EMFolderTree *folder_tree;
EMFolderTreeModel *model;
GtkWidget *dialog;