diff options
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/component-factory.c | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 16cdd31de4..9b29e77c8c 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2002-07-26 Jeffrey Stedfast <fejj@ximian.com> + + * component-factory.c (create_component): Add a new menu item for + posting to the New toolbar button thing. + 2002-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (create_label): Make the gtk label line-wrap 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); |