aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/component-factory.c19
2 files changed, 15 insertions, 9 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 1d71531b69..a7567fa5d6 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-01 Ettore Perazzoli <ettore@ximian.com>
+
+ * component-factory.c (create_component): Use
+ "post-message-16.png" as the icon for the "New Message Post" item.
+
2002-08-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_save): If we are editing an
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 635b378dd7..e291c40bae 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -963,7 +963,7 @@ create_component (void)
{
EvolutionShellComponentDndDestinationFolder *destination_interface;
MailOfflineHandler *offline_handler;
- GdkPixbuf *new_mail_icon;
+ GdkPixbuf *icon;
int i;
shell_component = evolution_shell_component_new (folder_types,
@@ -989,22 +989,23 @@ create_component (void)
evolution_mail_config_wizard_init ();
- new_mail_icon = gdk_pixbuf_new_from_file (EVOLUTION_ICONSDIR "/new-message.xpm");
-
+ icon = gdk_pixbuf_new_from_file (EVOLUTION_ICONSDIR "/new-message.xpm");
evolution_shell_component_add_user_creatable_item (shell_component, "message",
_("New Mail Message"), _("_Mail Message"),
_("Compose a new mail message"),
"mail", 'm',
- new_mail_icon);
-
+ icon);
+ if (icon != NULL)
+ gdk_pixbuf_unref (icon);
+
+ icon = gdk_pixbuf_new_from_file (EVOLUTION_ICONSDIR "/post-message-16.png");
evolution_shell_component_add_user_creatable_item (shell_component, "post",
_("New Message Post"), _("_Post Message"),
_("Post a new mail message"),
"mail", 'p',
- new_mail_icon);
-
- if (new_mail_icon != NULL)
- gdk_pixbuf_unref (new_mail_icon);
+ icon);
+ if (icon != NULL)
+ gdk_pixbuf_unref (icon);
for (i=0;i<sizeof(shell_component_handlers)/sizeof(shell_component_handlers[0]);i++) {
shell_component_handlers[i].hand = gtk_signal_connect(GTK_OBJECT(shell_component),