aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog4
-rw-r--r--calendar/gui/e-tasks.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 9b14aac03c..589ea22f6d 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,9 @@
2001-02-13 JP Rosevear <jpr@ximian.com>
+ * gui/e-tasks.c (e_tasks_new_task): call task_editor_focus
+
+2001-02-13 JP Rosevear <jpr@ximian.com>
+
* gui/calendar-commands.c (update_pixmaps): Set toolbar new
appointment icon
(set_pixmap): load files rather than create from xpm file
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c
index 64a6afd3cc..f098a2011b 100644
--- a/calendar/gui/e-tasks.c
+++ b/calendar/gui/e-tasks.c
@@ -426,8 +426,9 @@ e_tasks_new_task (ETasks *tasks)
cal_component_set_new_vtype (comp, CAL_COMPONENT_TODO);
task_editor_set_todo_object (tedit, comp);
-
gtk_object_unref (GTK_OBJECT (comp));
+
+ task_editor_focus (tedit);
}