diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-08-01 05:23:00 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-08-01 05:23:00 +0800 |
commit | 2cbac96e4053164b78b7bca54a0ca3ec86826649 (patch) | |
tree | d56645abe1a141e7ecf115a9bf3546130b20e518 /calendar | |
parent | d01a9081d208108b4b60a1746ac0118c3ef6da68 (diff) | |
download | gsoc2013-evolution-2cbac96e4053164b78b7bca54a0ca3ec86826649.tar gsoc2013-evolution-2cbac96e4053164b78b7bca54a0ca3ec86826649.tar.gz gsoc2013-evolution-2cbac96e4053164b78b7bca54a0ca3ec86826649.tar.bz2 gsoc2013-evolution-2cbac96e4053164b78b7bca54a0ca3ec86826649.tar.lz gsoc2013-evolution-2cbac96e4053164b78b7bca54a0ca3ec86826649.tar.xz gsoc2013-evolution-2cbac96e4053164b78b7bca54a0ca3ec86826649.tar.zst gsoc2013-evolution-2cbac96e4053164b78b7bca54a0ca3ec86826649.zip |
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
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 10 | ||||
-rw-r--r-- | calendar/gui/component-factory.c | 10 |
3 files changed, 16 insertions, 10 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index ac94f62045..187c8ee528 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,11 @@ 2002-07-31 Ettore Perazzoli <ettore@ximian.com> + * 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. + +2002-07-31 Ettore Perazzoli <ettore@ximian.com> + * gui/component-factory.c (add_creatable_item): New arg @folder_type, pass it to evolution_shell_component_add_user_creatable_item(). 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); |