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, 7 insertions, 0 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 0dc164d0fb..e2778ffc8d 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -988,10 +988,17 @@ create_component (void)
evolution_mail_config_wizard_init ();
new_mail_icon = gdk_pixbuf_new_from_file (EVOLUTION_ICONSDIR "/new-message.xpm");
+
+ evolution_shell_component_add_user_creatable_item (shell_component, "post",
+ _("New Message Post"), _("_Post Message"),
+ _("Post a new mail message"), 'p',
+ new_mail_icon);
+
evolution_shell_component_add_user_creatable_item (shell_component, "message",
_("New Mail Message"), _("_Mail Message"),
_("Compose a new mail message"), 'm',
new_mail_icon);
+
if (new_mail_icon != NULL)
gdk_pixbuf_unref (new_mail_icon);