diff options
author | Dan Winship <danw@src.gnome.org> | 2001-07-07 00:48:47 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-07-07 00:48:47 +0800 |
commit | 40c22b25f1e318b405bf2f995d2636de5c731959 (patch) | |
tree | b6139d6a3ae0512ce0e9dd42c52441a6b3c65598 /mail | |
parent | 8a80b831b1d7cdf656fcfe0d08fe58ca4603a7e0 (diff) | |
download | gsoc2013-evolution-40c22b25f1e318b405bf2f995d2636de5c731959.tar gsoc2013-evolution-40c22b25f1e318b405bf2f995d2636de5c731959.tar.gz gsoc2013-evolution-40c22b25f1e318b405bf2f995d2636de5c731959.tar.bz2 gsoc2013-evolution-40c22b25f1e318b405bf2f995d2636de5c731959.tar.lz gsoc2013-evolution-40c22b25f1e318b405bf2f995d2636de5c731959.tar.xz gsoc2013-evolution-40c22b25f1e318b405bf2f995d2636de5c731959.tar.zst gsoc2013-evolution-40c22b25f1e318b405bf2f995d2636de5c731959.zip |
Fix obvious bug in previous bugfix: Pass "fb" to check_for_fb_match() so
* mail-folder-cache.c (mail_folder_cache_set_folder_browser): Fix
obvious bug in previous bugfix: Pass "fb" to check_for_fb_match()
so only the selected folder gets updated, instead of "all folders
that haven't yet been selected".
svn path=/trunk/; revision=10846
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/mail-folder-cache.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 9a9247a0c6..ce90b512c2 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2001-07-06 Dan Winship <danw@ximian.com> + + * mail-folder-cache.c (mail_folder_cache_set_folder_browser): Fix + obvious bug in previous bugfix: Pass "fb" to check_for_fb_match() + so only the selected folder gets updated, instead of "all folders + that haven't yet been selected". + 2001-07-06 Ettore Perazzoli <ettore@ximian.com> * component-factory.c (populate_folder_context_menu): New function diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index d3e64c73d3..14e7015df6 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -820,7 +820,7 @@ mail_folder_cache_set_folder_browser (FolderBrowser *fb) LOCK_FOLDERS (); dm ("Checking folders for this fb"); - g_hash_table_foreach (folders, check_for_fb_match, NULL); + g_hash_table_foreach (folders, check_for_fb_match, fb); UNLOCK_FOLDERS (); } |