From 976338f32c86c7fa379af16865df7d5e34030103 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 26 Jul 2002 18:44:14 +0000 Subject: Add a new menu item for posting to the New toolbar button thing. 2002-07-26 Jeffrey Stedfast * component-factory.c (create_component): Add a new menu item for posting to the New toolbar button thing. svn path=/trunk/; revision=17612 --- mail/ChangeLog | 5 +++++ mail/component-factory.c | 7 +++++++ 2 files changed, 12 insertions(+) (limited to 'mail') 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 + + * component-factory.c (create_component): Add a new menu item for + posting to the New toolbar button thing. + 2002-07-25 Jeffrey Stedfast * 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); -- cgit v1.2.3