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/gui | |
parent | 6e64409d396b79b85c51159643436af69d2998cc (diff) | |
download | gsoc2013-evolution-333c607e8e7857bff59fa9b1d3e089a0127cc76a.tar.gz 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/gui')
-rw-r--r-- | calendar/gui/e-tasks.c | 7 |
1 files changed, 3 insertions, 4 deletions
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)) { |