diff options
author | Not Zed <NotZed@HelixCode.com> | 2000-10-12 21:48:36 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-10-12 21:48:36 +0800 |
commit | 80237e0c26dd375b0269dc2099d49fc3cd50a4f2 (patch) | |
tree | 8083431b7966dc91fd725b599d1366009bbc518e /mail/mail-vfolder.c | |
parent | 1deca02b41aae9bf2632ea1420cc900fcf41531d (diff) | |
download | gsoc2013-evolution-80237e0c26dd375b0269dc2099d49fc3cd50a4f2.tar.gz gsoc2013-evolution-80237e0c26dd375b0269dc2099d49fc3cd50a4f2.tar.zst gsoc2013-evolution-80237e0c26dd375b0269dc2099d49fc3cd50a4f2.zip |
Duh, fix the test for the folder name, strstr != strcmp is it.
2000-10-12 Not Zed <NotZed@HelixCode.com>
* message-list.c (message_list_setup_etable): Duh, fix the test
for the folder name, strstr != strcmp is it.
2000-10-10 Not Zed <NotZed@HelixCode.com>
* message-list.c (folder_to_cachename): Removed, changed callers
to use mail_config_folder_to_cachename instead.
* mail-config.c (mail_config_folder_to_cachename): New utility
function to get a cache name for a folder.
* mail-tools.c (mail_tool_do_movemail): Changed to return the path
to the mbox, rather than opening a folder of it.
* mail-ops.c (mail_incorporate_messages): Dont bother making the
pseudo messageinfo, filder_driver_filter_message will do it for
us.
(report_status): Callback to report status of filtering operation.
(do_fetch_mail): Changed significantly - for the api changes to
the filtering system. Also now incorporates a mailbox file
directly, without having to import it into a camel folder first.
(mail_incorporate_messages): Removed entirely, no longer needed.
* mail-vfolder.c (vfolder_refresh): Fix for context api changes.
(vfolder_uri_to_folder): Likewise.
* folder-browser-factory.c (create_ondemand_hooks): Changed for
api changes. Also only adds demand filters to the menu (fixed a
small logic bug).
svn path=/trunk/; revision=5883
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r-- | mail/mail-vfolder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index a26c2986fc..606a5a0b64 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -74,7 +74,7 @@ vfolder_refresh(void) char *uri, *path; rule = NULL; - while ( (rule = rule_context_next_rule((RuleContext *)context, rule)) ) { + while ( (rule = rule_context_next_rule((RuleContext *)context, rule, NULL)) ) { info = vfolder_find(rule->name); g_string_truncate(expr, 0); filter_rule_build_code(rule, expr); @@ -189,7 +189,7 @@ vfolder_uri_to_folder(const char *uri, CamelException *ex) d(printf("Opening vfolder: %s\n", uri)); - rule = (VfolderRule *)rule_context_find_rule((RuleContext *)context, info->name); + rule = (VfolderRule *)rule_context_find_rule((RuleContext *)context, info->name, NULL); storeuri = g_strdup_printf("vfolder:%s/vfolder/%s", evolution_dir, info->name); foldername = g_strdup_printf("mbox?%s", info->query); |