diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-09-29 21:02:56 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-09-29 21:02:56 +0800 |
commit | d097ac6883dab98ffe326299f7293062573433f8 (patch) | |
tree | dec701b00faadb4b2f2aeeb1232561717a5a96ce /calendar/gui/gnome-cal.c | |
parent | 4dddf579f7e114957c38a8df0903c1476e79c267 (diff) | |
download | gsoc2013-evolution-d097ac6883dab98ffe326299f7293062573433f8.tar gsoc2013-evolution-d097ac6883dab98ffe326299f7293062573433f8.tar.gz gsoc2013-evolution-d097ac6883dab98ffe326299f7293062573433f8.tar.bz2 gsoc2013-evolution-d097ac6883dab98ffe326299f7293062573433f8.tar.lz gsoc2013-evolution-d097ac6883dab98ffe326299f7293062573433f8.tar.xz gsoc2013-evolution-d097ac6883dab98ffe326299f7293062573433f8.tar.zst gsoc2013-evolution-d097ac6883dab98ffe326299f7293062573433f8.zip |
Fixes #317014
svn path=/trunk/; revision=30418
Diffstat (limited to 'calendar/gui/gnome-cal.c')
-rw-r--r-- | calendar/gui/gnome-cal.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index e72b96bf53..e0e68fb723 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -2924,18 +2924,19 @@ gnome_calendar_new_task (GnomeCalendar *gcal) ECalComponent *comp; icalcomponent *icalcomp; const char *category; + guint32 flags = 0; g_return_if_fail (gcal != NULL); g_return_if_fail (GNOME_IS_CALENDAR (gcal)); priv = gcal->priv; - model = e_calendar_table_get_model (E_CALENDAR_TABLE (priv->todo)); ecal = e_cal_model_get_default_client (model); if (!ecal) return; - tedit = task_editor_new (ecal, FALSE); + flags |= COMP_EDITOR_NEW_ITEM; + tedit = task_editor_new (ecal, flags); icalcomp = e_cal_model_create_component_with_defaults (model); comp = e_cal_component_new (); |