From 2cbac96e4053164b78b7bca54a0ca3ec86826649 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Wed, 31 Jul 2002 21:23:00 +0000 Subject: Change the order so that "New Contact" is first and "New Contact List" is * gui/component/addressbook-component.c (create_component): Change the order so that "New Contact" is first and "New Contact List" is next. * gui/component-factory.c (create_object): Change the order of the user creatable items a bit so that "New Appointment" and "New Meeting" are at the top when in a calendar folder. * component-factory.c (create_component): Put "New Mail Message" before "New Message Post" instead of vice versa. * evolution-mail-global.xml: Remove "New Mail Message" and "Post Message" items. svn path=/trunk/; revision=17661 --- calendar/gui/calendar-component.c | 10 +++++----- calendar/gui/component-factory.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'calendar/gui') diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 3f7b280e1f..b6e36b3b49 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -704,6 +704,11 @@ create_object (void) /* User creatable items */ + add_creatable_item (shell_component, CREATE_EVENT_ID, + _("New appointment"), _("_Appointment"), + _("Create a new appointment"), + "calendar", 'a', "new_appointment.xpm"); + add_creatable_item (shell_component, CREATE_MEETING_ID, _("New meeting"), _("_Meeting"), _("Create a new meeting request"), @@ -719,11 +724,6 @@ create_object (void) _("Create a new all-day appointment"), "calendar", 'd', "new_all_day_event.png"); - add_creatable_item (shell_component, CREATE_EVENT_ID, - _("New appointment"), _("_Appointment"), - _("Create a new appointment"), - "calendar", 'a', "new_appointment.xpm"); - gtk_signal_connect (GTK_OBJECT (shell_component), "user_create_new_item", GTK_SIGNAL_FUNC (sc_user_create_new_item_cb), NULL); diff --git a/calendar/gui/component-factory.c b/calendar/gui/component-factory.c index 3f7b280e1f..b6e36b3b49 100644 --- a/calendar/gui/component-factory.c +++ b/calendar/gui/component-factory.c @@ -704,6 +704,11 @@ create_object (void) /* User creatable items */ + add_creatable_item (shell_component, CREATE_EVENT_ID, + _("New appointment"), _("_Appointment"), + _("Create a new appointment"), + "calendar", 'a', "new_appointment.xpm"); + add_creatable_item (shell_component, CREATE_MEETING_ID, _("New meeting"), _("_Meeting"), _("Create a new meeting request"), @@ -719,11 +724,6 @@ create_object (void) _("Create a new all-day appointment"), "calendar", 'd', "new_all_day_event.png"); - add_creatable_item (shell_component, CREATE_EVENT_ID, - _("New appointment"), _("_Appointment"), - _("Create a new appointment"), - "calendar", 'a', "new_appointment.xpm"); - gtk_signal_connect (GTK_OBJECT (shell_component), "user_create_new_item", GTK_SIGNAL_FUNC (sc_user_create_new_item_cb), NULL); -- cgit