diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-25 11:28:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-01-25 11:28:18 +0800 |
commit | 32ffc3ca1ca80b2d843fbe28da7deab35fabcbf1 (patch) | |
tree | 36f52060c250aacf445013b1bf15541892098f3f /mail/em-folder-utils.h | |
parent | cbb3a71adc5551f4c600cfc6f53fc112f3022a78 (diff) | |
download | gsoc2013-evolution-32ffc3ca1ca80b2d843fbe28da7deab35fabcbf1.tar.gz gsoc2013-evolution-32ffc3ca1ca80b2d843fbe28da7deab35fabcbf1.tar.zst gsoc2013-evolution-32ffc3ca1ca80b2d843fbe28da7deab35fabcbf1.zip |
Make the sidebar icon follow the folder icon.
Fix more runtime warnings.
svn path=/branches/kill-bonobo/; revision=37130
Diffstat (limited to 'mail/em-folder-utils.h')
-rw-r--r-- | mail/em-folder-utils.h | 36 |
1 files changed, 27 insertions, 9 deletions
diff --git a/mail/em-folder-utils.h b/mail/em-folder-utils.h index 19bedd46a3..e3161bdcc0 100644 --- a/mail/em-folder-utils.h +++ b/mail/em-folder-utils.h @@ -21,18 +21,36 @@ * */ -#ifndef _EM_FOLDER_UTILS_H -#define _EM_FOLDER_UTILS_H +#ifndef EM_FOLDER_UTILS_H +#define EM_FOLDER_UTILS_H -int em_folder_utils_copy_folders(CamelStore *fromstore, const char *frombase, CamelStore *tostore, const char *tobase, int delete); +#include <glib.h> +#include <camel/camel-folder.h> +#include <camel/camel-store.h> +#include <mail/em-folder-tree.h> -/* FIXME: These api's are really busted, there is no consistency and most rely on the wrong data */ +G_BEGIN_DECLS -void em_folder_utils_copy_folder (struct _CamelFolderInfo *folderinfo, int delete); +gint em_folder_utils_copy_folders (CamelStore *fromstore, + const gchar *frombase, + CamelStore *tostore, + const gchar *tobase, + int delete); -void em_folder_utils_delete_folder (struct _CamelFolder *folder); -void em_folder_utils_rename_folder (struct _CamelFolder *folder); +/* FIXME These API's are really busted. There is no consistency and + * most rely on the wrong data. */ -void em_folder_utils_create_folder (struct _CamelFolderInfo *folderinfo, EMFolderTree * emft); +void em_folder_utils_copy_folder (CamelFolderInfo *folderinfo, + int delete); -#endif +void em_folder_utils_delete_folder (CamelFolder *folder); +void em_folder_utils_rename_folder (CamelFolder *folder); + +void em_folder_utils_create_folder (CamelFolderInfo *folderinfo, + EMFolderTree * emft); + +const gchar * em_folder_utils_get_icon_name (guint32 flags); + +G_END_DECLS + +#endif /* EM_FOLDER_UTILS_H */ |