aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-08-01 05:23:00 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-08-01 05:23:00 +0800
commit2cbac96e4053164b78b7bca54a0ca3ec86826649 (patch)
treed56645abe1a141e7ecf115a9bf3546130b20e518 /calendar/gui
parentd01a9081d208108b4b60a1746ac0118c3ef6da68 (diff)
downloadgsoc2013-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/gui')
-rw-r--r--calendar/gui/calendar-component.c10
-rw-r--r--calendar/gui/component-factory.c10
2 files changed, 10 insertions, 10 deletions
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);