diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-07-04 17:37:24 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-07-04 17:37:24 +0800 |
commit | 744563a9a2b6841881f7d53d2d6ef163b27cb135 (patch) | |
tree | 5057a4da5e6561ff20acd6917ace74dcf6a28acf /calendar | |
parent | ec4894467f28cbd17272943c9269fc69f72adeb7 (diff) | |
download | gsoc2013-evolution-744563a9a2b6841881f7d53d2d6ef163b27cb135.tar gsoc2013-evolution-744563a9a2b6841881f7d53d2d6ef163b27cb135.tar.gz gsoc2013-evolution-744563a9a2b6841881f7d53d2d6ef163b27cb135.tar.bz2 gsoc2013-evolution-744563a9a2b6841881f7d53d2d6ef163b27cb135.tar.lz gsoc2013-evolution-744563a9a2b6841881f7d53d2d6ef163b27cb135.tar.xz gsoc2013-evolution-744563a9a2b6841881f7d53d2d6ef163b27cb135.tar.zst gsoc2013-evolution-744563a9a2b6841881f7d53d2d6ef163b27cb135.zip |
Set the new item flags while creating new meetings from other components.
Check the new item flags while creating the scheduling page.
svn path=/trunk/; revision=29625
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 7 | ||||
-rw-r--r-- | calendar/gui/calendar-component.c | 2 | ||||
-rw-r--r-- | calendar/gui/dialogs/event-editor.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 1d22200974..67e31f03d9 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2005-07-04 Chenthill Palanisamy <pchenthill@novell.com> + + * gui/calendar-component.c: (create_new_event): Set + the new item flag. + * gui/dialogs/event-editor.c: (event_editor_construct): + Check the new item flag and create the scheduling page. + 2005-07-04 Srinivasa Ragavan <sragavan@novell.com> * gui/dialogs/meeting-page.c: (meeting_page_construct) Added diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c index 3ec9537fcb..f747370004 100644 --- a/calendar/gui/calendar-component.c +++ b/calendar/gui/calendar-component.c @@ -1196,7 +1196,7 @@ create_new_event (CalendarComponent *calendar_component, CalendarComponentView * EventEditor *editor; CompEditorFlags flags; - flags |= COMP_EDITOR_MEETING; + flags |= COMP_EDITOR_MEETING | COMP_EDITOR_NEW_ITEM; comp = cal_comp_event_new_with_current_time (ecal, is_allday); editor = event_editor_new (ecal, flags); e_cal_component_commit_sequence (comp); diff --git a/calendar/gui/dialogs/event-editor.c b/calendar/gui/dialogs/event-editor.c index 519c9f4447..1c15bc1f53 100644 --- a/calendar/gui/dialogs/event-editor.c +++ b/calendar/gui/dialogs/event-editor.c @@ -155,7 +155,7 @@ event_editor_construct (EventEditor *ee, ECal *client) event_page_show_options (priv->event_page); comp_editor_set_group_item (COMP_EDITOR (ee), TRUE); - if ((flags & COMP_EDITOR_USER_ORG) || (flags & COMP_EDITOR_DELEGATE)) { + if ((flags & COMP_EDITOR_USER_ORG) || (flags & COMP_EDITOR_DELEGATE)|| (flags & COMP_EDITOR_NEW_ITEM)) { priv->sched_page = schedule_page_new (priv->model); g_object_ref (priv->sched_page); gtk_object_sink (GTK_OBJECT (priv->sched_page)); |