From 40c22b25f1e318b405bf2f995d2636de5c731959 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 6 Jul 2001 16:48:47 +0000 Subject: 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 --- mail/ChangeLog | 7 +++++++ mail/mail-folder-cache.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 + + * 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 * 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 (); } -- cgit v1.2.3