diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-04 03:24:59 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-04 03:24:59 +0800 |
commit | 253e90b8de63d9c064a0df05cf0e2e153f913474 (patch) | |
tree | ba6608ca96849f8f0801e4e81f7ed2aef06d391d /calendar/gui/e-memo-table.c | |
parent | 086a96050b16f6dabd99a391b5a4faf0411963a1 (diff) | |
download | gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.gz gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.tar.zst gsoc2013-evolution-253e90b8de63d9c064a0df05cf0e2e153f913474.zip |
Tasks is working. Still need to deal with some loose ends and test it all.
svn path=/branches/kill-bonobo/; revision=36551
Diffstat (limited to 'calendar/gui/e-memo-table.c')
-rw-r--r-- | calendar/gui/e-memo-table.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c index b286dc3fc7..12aa2d9db2 100644 --- a/calendar/gui/e-memo-table.c +++ b/calendar/gui/e-memo-table.c @@ -986,6 +986,8 @@ clipboard_get_calendar_data (EMemoTable *memo_table, const gchar *text) /* check the type of the component */ kind = icalcomponent_isa (icalcomp); if (kind != ICAL_VCALENDAR_COMPONENT && + kind != ICAL_VEVENT_COMPONENT && + kind != ICAL_VTODO_COMPONENT && kind != ICAL_VJOURNAL_COMPONENT) { return; } @@ -1005,7 +1007,9 @@ clipboard_get_calendar_data (EMemoTable *memo_table, const gchar *text) vcal_comp, ICAL_ANY_COMPONENT); while (subcomp) { child_kind = icalcomponent_isa (subcomp); - if (child_kind == ICAL_VJOURNAL_COMPONENT) { + if (child_kind == ICAL_VEVENT_COMPONENT || + child_kind == ICAL_VTODO_COMPONENT || + child_kind == ICAL_VJOURNAL_COMPONENT) { ECalComponent *tmp_comp; uid = e_cal_component_gen_uid (); |