diff options
author | 7 <NotZed@Ximian.com> | 2001-10-18 00:14:05 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-18 00:14:05 +0800 |
commit | f889afd350da4e9262b49b640f95af1a8589c9ba (patch) | |
tree | ce50256236794d2e45ae0bbb40f1da714e1972f3 | |
parent | ee6a2b01f9e52483d9aa82eff213d36450d2bb9a (diff) | |
download | gsoc2013-evolution-f889afd350da4e9262b49b640f95af1a8589c9ba.tar gsoc2013-evolution-f889afd350da4e9262b49b640f95af1a8589c9ba.tar.gz gsoc2013-evolution-f889afd350da4e9262b49b640f95af1a8589c9ba.tar.bz2 gsoc2013-evolution-f889afd350da4e9262b49b640f95af1a8589c9ba.tar.lz gsoc2013-evolution-f889afd350da4e9262b49b640f95af1a8589c9ba.tar.xz gsoc2013-evolution-f889afd350da4e9262b49b640f95af1a8589c9ba.tar.zst gsoc2013-evolution-f889afd350da4e9262b49b640f95af1a8589c9ba.zip |
Only empty trash on enabled accounts, fixes #12821.
2001-10-17 <NotZed@Ximian.com>
* mail-callbacks.c (empty_trash): Only empty trash on enabled
accounts, fixes #12821.
svn path=/trunk/; revision=13724
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-callbacks.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 9972633b9f..4e403e8c70 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2001-10-17 <NotZed@Ximian.com> + + * mail-callbacks.c (empty_trash): Only empty trash on enabled + accounts, fixes #12821. + 2001-10-17 Dan Winship <danw@ximian.com> * mail-format.c (write_default_header): Make Reply-To bold too diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index b5cbe6c19e..48a3275692 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -2340,7 +2340,7 @@ empty_trash (BonoboUIComponent *uih, void *user_data, const char *path) account = accounts->data; /* make sure this is a valid source */ - if (account->source && account->source->url) { + if (account->source && account->source->enabled && account->source->url) { provider = camel_session_get_provider (session, account->source->url, &ex); if (provider) { /* make sure this store is a remote store */ |