aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-07-27 02:44:14 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-07-27 02:44:14 +0800
commit976338f32c86c7fa379af16865df7d5e34030103 (patch)
treed8be1c8d688168f4be613d481a33de0177c4f9be
parentd2a3ec5a4e069d3ab36b32f08bc7dd18ed63d16b (diff)
downloadgsoc2013-evolution-976338f32c86c7fa379af16865df7d5e34030103.tar
gsoc2013-evolution-976338f32c86c7fa379af16865df7d5e34030103.tar.gz
gsoc2013-evolution-976338f32c86c7fa379af16865df7d5e34030103.tar.bz2
gsoc2013-evolution-976338f32c86c7fa379af16865df7d5e34030103.tar.lz
gsoc2013-evolution-976338f32c86c7fa379af16865df7d5e34030103.tar.xz
gsoc2013-evolution-976338f32c86c7fa379af16865df7d5e34030103.tar.zst
gsoc2013-evolution-976338f32c86c7fa379af16865df7d5e34030103.zip
Add a new menu item for posting to the New toolbar button thing.
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. svn path=/trunk/; revision=17612
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/component-factory.c7
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);