diff options
author | Not Zed <NotZed@Ximian.com> | 2002-07-15 10:06:46 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-07-15 10:06:46 +0800 |
commit | 393fa3c3e84b73dc591fa4481bcf2731dc640157 (patch) | |
tree | 3dab076406b9611fd5fa3eb7b77289c99f6136a5 /mail/mail-folder-cache.c | |
parent | 68ec840bca073bc8e8ea2f58ad36078df9c619c1 (diff) | |
download | gsoc2013-evolution-393fa3c3e84b73dc591fa4481bcf2731dc640157.tar.gz gsoc2013-evolution-393fa3c3e84b73dc591fa4481bcf2731dc640157.tar.zst gsoc2013-evolution-393fa3c3e84b73dc591fa4481bcf2731dc640157.zip |
** fixes for #10781
2002-07-10 Not Zed <NotZed@Ximian.com>
** fixes for #10781
* mail-callbacks.c (filter_edit): Add back a cancel button. We
dont need to do anything special to 'undo' here, as the rules are
loaded every time they're used.
* mail-vfolder.c (vfolder_editor_clicked): If ok wans't clicked,
revert the ruleset.
(vfolder_editor_destroy): Fake a button of -1 if we get destroyed
with no click.
(context_rule_removed): Unref the folder after we delete it. If
we're the last ref to the folder, unrefing it means it no longer
exist,s which means no delte processing occurs ...
svn path=/trunk/; revision=17449
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r-- | mail/mail-folder-cache.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index 90c8419762..511be60e90 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -47,7 +47,7 @@ #include "mail-autofilter.h" #define w(x) -#define d(x) +#define d(x) /*(printf("%s(%d):%s: ", __FILE__, __LINE__, __PRETTY_FUNCTION__), (x))*/ /* note that many things are effectively serialised by having them run in the main loop thread which they need to do because of corba/gtk calls */ @@ -223,6 +223,8 @@ unset_folder_info(struct _folder_info *mfi, int delete) { struct _folder_update *up; + d(printf("unset folderinfo '%s'\n", mfi->uri)); + if (mfi->folder) { CamelFolder *folder = mfi->folder; |