aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@helixcode.com>2000-09-06 08:13:05 +0800
committerDamon Chaplin <damon@src.gnome.org>2000-09-06 08:13:05 +0800
commite8648e48175c1b6d26bff5316c2c7d738245a63c (patch)
treeb6dcd1e5670462fe810b90a601013556d5db2604 /calendar/gui/e-calendar-table.c
parent6403bd5b4def7c610285d2aaad10e793b321091d (diff)
downloadgsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar
gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar.gz
gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar.bz2
gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar.lz
gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar.xz
gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.tar.zst
gsoc2013-evolution-e8648e48175c1b6d26bff5316c2c7d738245a63c.zip
uses the new TaskEditor dialog.
2000-09-06 Damon Chaplin <damon@helixcode.com> * gui/e-calendar-table.c (e_calendar_table_open_task): uses the new TaskEditor dialog. * gui/dialogs/task-editor.[hc]: * gui/dialogs/task-editor-dialog.glade: updated. Still need to fix the 'Status' property (CalComponent doesn't support it yet), and use a replacement for GnomeDateEdit, since we need to support setting 'None' as the date. 2000-09-04 Damon Chaplin <damon@helixcode.com> * gui/event-editor.c (obj_updated_cb): (obj_removed_cb): compare the updated object's uid with the one we are editing, and just return if it doesn't match. 2000-09-01 Damon Chaplin <damon@helixcode.com> * gui/gnome-cal.c (gnome_calendar_tag_calendar): added check to see if the client has loaded successfully. Gets rid of a few warnings. svn path=/trunk/; revision=5217
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index 17f957623f..ab1578508e 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -35,7 +35,7 @@
#include <e-table/e-cell-text.h>
#include "e-calendar-table.h"
#include "calendar-model.h"
-#include "gncal-todo.h"
+#include "dialogs/task-editor.h"
/* Pixmaps. */
#include "task.xpm"
@@ -415,16 +415,14 @@ static void
e_calendar_table_open_task (ECalendarTable *cal_table,
gint row)
{
+ TaskEditor *tedit;
CalComponent *comp;
-#if 0
- task_editor_new ();
- /* FIXME: Set iCalObject to edit. */
-#endif
+ tedit = task_editor_new ();
+ task_editor_set_cal_client (tedit, calendar_model_get_cal_client (cal_table->model));
comp = calendar_model_get_cal_object (cal_table->model, row);
-
- gncal_todo_edit (calendar_model_get_cal_client (cal_table->model), comp);
+ task_editor_set_todo_object (tedit, comp);
}