diff options
author | JP Rosevear <jpr@ximian.com> | 2003-11-29 01:52:20 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-11-29 01:52:20 +0800 |
commit | 333c607e8e7857bff59fa9b1d3e089a0127cc76a (patch) | |
tree | a7cd9eb3abef57eb7e209598f7cb6786ceaeeeea /calendar | |
parent | 6e64409d396b79b85c51159643436af69d2998cc (diff) | |
download | gsoc2013-evolution-333c607e8e7857bff59fa9b1d3e089a0127cc76a.tar gsoc2013-evolution-333c607e8e7857bff59fa9b1d3e089a0127cc76a.tar.gz gsoc2013-evolution-333c607e8e7857bff59fa9b1d3e089a0127cc76a.tar.bz2 gsoc2013-evolution-333c607e8e7857bff59fa9b1d3e089a0127cc76a.tar.lz gsoc2013-evolution-333c607e8e7857bff59fa9b1d3e089a0127cc76a.tar.xz gsoc2013-evolution-333c607e8e7857bff59fa9b1d3e089a0127cc76a.tar.zst gsoc2013-evolution-333c607e8e7857bff59fa9b1d3e089a0127cc76a.zip |
we want to skip if it *is* read only
2003-11-28 JP Rosevear <jpr@ximian.com>
* gui/e-tasks.c (e_tasks_delete_completed): we want to skip if it
*is* read only
svn path=/trunk/; revision=23502
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/e-tasks.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index e0c345871c..9e55d9b757 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,5 +1,10 @@ 2003-11-28 JP Rosevear <jpr@ximian.com> + * gui/e-tasks.c (e_tasks_delete_completed): we want to skip if it + *is* read only + +2003-11-28 JP Rosevear <jpr@ximian.com> + * gui/e-meeting-store.c (e_meeting_store_get_type): allocate the type information correctly diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c index df4c3f82a4..936344de43 100644 --- a/calendar/gui/e-tasks.c +++ b/calendar/gui/e-tasks.c @@ -1003,16 +1003,15 @@ e_tasks_delete_completed (ETasks *tasks) sexp = g_strdup ("(is-completed?)"); - set_status_message (tasks, _("Expunging")); - - /* FIXME Confirm expunge */ + set_status_message (tasks, _("Expunging")); + for (l = priv->clients_list; l != NULL; l = l->next) { ECal *client = l->data; GList *objects, *m; gboolean read_only = TRUE; e_cal_is_read_only (client, &read_only, NULL); - if (!read_only) + if (read_only) continue; if (!e_cal_get_object_list (client, sexp, &objects, NULL)) { |