aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index e291c40bae..5a2651b789 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -825,8 +825,11 @@ user_create_new_item_cb (EvolutionShellComponent *shell_component,
if (!strcmp (id, "message")) {
send_to_url (NULL);
return;
- }
-
+ } else if (!strcmp (id, "post")) {
+ post_to_url (parent_folder_physical_uri);
+ return;
+ }
+
g_warning ("Don't know how to create item of type \"%s\"", id);
}