aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-model.h
diff options
context:
space:
mode:
authorDamon Chaplin <damon@helixcode.com>2000-07-26 03:49:15 +0800
committerDamon Chaplin <damon@src.gnome.org>2000-07-26 03:49:15 +0800
commitcd27c67fbc2f2a363579ce612c5937a4b12d1e49 (patch)
tree8e8d54ce72794dcc736ab075013264dc3d154217 /calendar/gui/calendar-model.h
parent516b594aa9e8abf1643905e7eb48e21f8684c1aa (diff)
downloadgsoc2013-evolution-cd27c67fbc2f2a363579ce612c5937a4b12d1e49.tar.gz
gsoc2013-evolution-cd27c67fbc2f2a363579ce612c5937a4b12d1e49.tar.zst
gsoc2013-evolution-cd27c67fbc2f2a363579ce612c5937a4b12d1e49.zip
new ECalendarTable to show an ETable view for Todo/Event items.
2000-07-25 Damon Chaplin <damon@helixcode.com> * gui/e-calendar-table.[hc]: new ECalendarTable to show an ETable view for Todo/Event items. * gui/task-assigned-to.xpm: * gui/task-recurring.xpm: * gui/task-assigned.xpm: * gui/task.xpm: new pixmaps (all the same at present) to go in the icon column of the ETable. * gui/event-editor.c: hid the silly 'Calendar' labels on the GnomeDateEdits and hid the times when you select 'All day event'. Also adjusted the time_t's so that when an all day event finishes on say midnight 13th May, we show 12th May in the dialog, since it implicitly includes all of that day up to midnight. * gui/dialogs/task-editor-dialog.glade: * gui/dialogs/task-editor.[hc]: unfinished dialog to edit tasks. * gui/gncal-todo.c: temporary hack so that we can use the simple dialog with our new ETable. svn path=/trunk/; revision=4323
Diffstat (limited to 'calendar/gui/calendar-model.h')
-rw-r--r--calendar/gui/calendar-model.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/calendar/gui/calendar-model.h b/calendar/gui/calendar-model.h
index 7e28436e59..d3317b11eb 100644
--- a/calendar/gui/calendar-model.h
+++ b/calendar/gui/calendar-model.h
@@ -51,11 +51,22 @@ struct _CalendarModelClass {
ETableModelClass parent_class;
};
-GtkType calendar_model_get_type (void);
+GtkType calendar_model_get_type (void);
-CalendarModel *calendar_model_new (void);
+CalendarModel* calendar_model_new (void);
-void calendar_model_set_cal_client (CalendarModel *model, CalClient *client, CalObjType type);
+CalClient* calendar_model_get_cal_client (CalendarModel *model);
+void calendar_model_set_cal_client (CalendarModel *model,
+ CalClient *client,
+ CalObjType type);
+
+void calendar_model_mark_task_complete (CalendarModel *model,
+ gint row);
+void calendar_model_delete_task (CalendarModel *model,
+ gint row);
+
+iCalObject* calendar_model_get_cal_object (CalendarModel *model,
+ gint row);