diff options
author | Milan Crha <mcrha@redhat.com> | 2010-02-25 20:32:32 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-02-25 20:32:32 +0800 |
commit | 1341a56ed1347f0762e9d81f4cfc6197c1656f0b (patch) | |
tree | 633cdf04043063992aed81d8447b466a788f4b11 /modules/calendar/e-cal-shell-view-private.c | |
parent | 98f8e3672530a9231c3c28cea137452e9127d214 (diff) | |
download | gsoc2013-evolution-1341a56ed1347f0762e9d81f4cfc6197c1656f0b.tar gsoc2013-evolution-1341a56ed1347f0762e9d81f4cfc6197c1656f0b.tar.gz gsoc2013-evolution-1341a56ed1347f0762e9d81f4cfc6197c1656f0b.tar.bz2 gsoc2013-evolution-1341a56ed1347f0762e9d81f4cfc6197c1656f0b.tar.lz gsoc2013-evolution-1341a56ed1347f0762e9d81f4cfc6197c1656f0b.tar.xz gsoc2013-evolution-1341a56ed1347f0762e9d81f4cfc6197c1656f0b.tar.zst gsoc2013-evolution-1341a56ed1347f0762e9d81f4cfc6197c1656f0b.zip |
Bug #529331 - Deletes appointments when moving to the same calendar
Diffstat (limited to 'modules/calendar/e-cal-shell-view-private.c')
-rw-r--r-- | modules/calendar/e-cal-shell-view-private.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/calendar/e-cal-shell-view-private.c b/modules/calendar/e-cal-shell-view-private.c index b5f9ba55d7..e5c1ed4bd6 100644 --- a/modules/calendar/e-cal-shell-view-private.c +++ b/modules/calendar/e-cal-shell-view-private.c @@ -737,8 +737,9 @@ e_cal_shell_view_transfer_item_to (ECalShellView *cal_shell_view, success = e_cal_modify_object ( destination_client, icalcomp_event, CALOBJ_MOD_ALL, NULL); - if (!success) - return; + + /* do not delete the event when it was found in the calendar */ + return; } else { icalproperty *icalprop; gchar *new_uid; |