aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/calendar-component.c10
-rw-r--r--calendar/gui/component-factory.c10
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);