aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/templates
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-19 02:22:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-19 02:31:16 +0800
commitae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961 (patch)
tree0e7ad99f50070f6c52d7c4b6e225c3c044afe04c /plugins/templates
parent0e7b23b94da808d3935f76aae53ad8a96ac06dd9 (diff)
downloadgsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.gz
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.bz2
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.lz
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.xz
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.zst
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.zip
Collect mail enum types in e-mail-enums.h.
And generate GTypes for each of them in e-mail-enumtypes.[ch]. Also, the glib-gen.mak script forced me to add a <mail/e-mail.h> top-level header, which really isn't a bad idea anyway. TODO: We should do this for calendar and addressbook too.
Diffstat (limited to 'plugins/templates')
-rw-r--r--plugins/templates/templates.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c
index a2bac3dec9..815ee69882 100644
--- a/plugins/templates/templates.c
+++ b/plugins/templates/templates.c
@@ -479,7 +479,7 @@ create_new_message (CamelFolder *folder, const gchar *uid, CamelMimeMessage *mes
/* FIXME Pass this in somehow. */
shell = e_shell_get_default ();
- folder = e_mail_local_get_folder (E_MAIL_FOLDER_TEMPLATES);
+ folder = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_TEMPLATES);
template = g_object_get_data (G_OBJECT (action), "template");
/* The new message we are creating */
@@ -700,7 +700,7 @@ got_message_draft_cb (EMsgComposer *composer,
g_return_if_fail (CAMEL_IS_MIME_MESSAGE (message));
/* Get the templates folder and all UIDs of the messages there. */
- folder = e_mail_local_get_folder (E_MAIL_FOLDER_TEMPLATES);
+ folder = e_mail_local_get_folder (E_MAIL_LOCAL_FOLDER_TEMPLATES);
info = camel_message_info_new (NULL);
@@ -778,7 +778,8 @@ update_actions_cb (EShellView *shell_view)
/* Now recursively build template submenus in the pop-up menu. */
store = e_mail_local_get_store ();
- templates_folder = e_mail_local_get_folder (E_MAIL_FOLDER_TEMPLATES);
+ templates_folder = e_mail_local_get_folder (
+ E_MAIL_LOCAL_FOLDER_TEMPLATES);
full_name = camel_folder_get_full_name (templates_folder);
/* FIXME Not passing a GCancellable or GError here. */