aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/calendar-component.c8
-rw-r--r--calendar/gui/component-factory.c8
3 files changed, 13 insertions, 8 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 03234ffad4..494b6ac008 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2002-01-23 Ettore Perazzoli <ettore@ximian.com>
+
+ * gui/component-factory.c (create_object): Pass a NULL @icon to
+ `evolution_shell_component_add_user_creatable_item()'.
+
2002-01-21 JP Rosevear <jpr@ximian.com>
* conduits/todo/todo-conduit.c (todoconduit_load_configuration):
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 5b6bd08e19..979885c10f 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -640,14 +640,14 @@ create_object (void)
evolution_shell_component_add_user_creatable_item (shell_component,
CREATE_EVENT_ID,
_("Create a new appointment"),
- _("New _Appointment"),
- 'a');
+ _("New _Appointment"), 'a',
+ NULL);
evolution_shell_component_add_user_creatable_item (shell_component,
CREATE_TASK_ID,
_("Create a new task"),
- _("New _Task"),
- 't');
+ _("New _Task"), 't',
+ NULL);
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 5b6bd08e19..979885c10f 100644
--- a/calendar/gui/component-factory.c
+++ b/calendar/gui/component-factory.c
@@ -640,14 +640,14 @@ create_object (void)
evolution_shell_component_add_user_creatable_item (shell_component,
CREATE_EVENT_ID,
_("Create a new appointment"),
- _("New _Appointment"),
- 'a');
+ _("New _Appointment"), 'a',
+ NULL);
evolution_shell_component_add_user_creatable_item (shell_component,
CREATE_TASK_ID,
_("Create a new task"),
- _("New _Task"),
- 't');
+ _("New _Task"), 't',
+ NULL);
gtk_signal_connect (GTK_OBJECT (shell_component), "user_create_new_item",
GTK_SIGNAL_FUNC (sc_user_create_new_item_cb), NULL);