aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
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);