From f3a444674878385818f5fb13f5e65bae9a50eca3 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Thu, 14 Mar 2002 19:08:20 +0000 Subject: add all day event editor mode 2002-03-14 JP Rosevear * idl/evolution-calendar.idl: add all day event editor mode * gui/component-factory.c: clean up exception handling (sc_user_create_new_item_cb): support the all day event id (create_object): add a user creatable all day appointment item * gui/comp-editor-factory.c (get_default_event): get a default event either all day or starting at the top of the hour (get_default_task): get a default task (edit_new): support the all day event mode * gui/calendar-commands.c: remove unused functions/verbs svn path=/trunk/; revision=16157 --- calendar/idl/evolution-calendar.idl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calendar/idl') diff --git a/calendar/idl/evolution-calendar.idl b/calendar/idl/evolution-calendar.idl index f38bc9b47a..7ad011aecf 100644 --- a/calendar/idl/evolution-calendar.idl +++ b/calendar/idl/evolution-calendar.idl @@ -330,8 +330,9 @@ module Calendar { typedef long CompEditorMode; const CompEditorMode EDITOR_MODE_EVENT = 1 << 0; - const CompEditorMode EDITOR_MODE_MEETING = 1 << 1; - const CompEditorMode EDITOR_MODE_TODO = 1 << 2; + const CompEditorMode EDITOR_MODE_ALLDAY_EVENT = 1 << 1; + const CompEditorMode EDITOR_MODE_MEETING = 1 << 2; + const CompEditorMode EDITOR_MODE_TODO = 1 << 3; /* Loads a calendar and opens an editor for the specified object */ void editExisting (in string uri, in CalObjUID uid) -- cgit v1.2.3