diff options
author | Not Zed <NotZed@Ximian.com> | 2001-03-01 08:58:16 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-03-01 08:58:16 +0800 |
commit | f01589262ca132b980bb067e5aa6fbaee8fd3579 (patch) | |
tree | b0cfe93753569c33cad150331342025fd98bcd76 /mail/mail-vfolder.c | |
parent | efa31cf176b236410e88a11b33bbfec5160e2c81 (diff) | |
download | gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar.gz gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar.bz2 gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar.lz gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar.xz gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.tar.zst gsoc2013-evolution-f01589262ca132b980bb067e5aa6fbaee8fd3579.zip |
Fixes for changes to search bar. (search_save): Removed. (search_full):
2001-03-01 Not Zed <NotZed@Ximian.com>
* folder-browser.c (folder_browser_search_menu_activated): Fixes
for changes to search bar.
(search_save): Removed.
(search_full): Removed.
(search_full_clicked): Removed.
(folder_browser_search_option_items[]): Removed.
(folder_browser_search_query_changed): Changed for search bar
changes.
(folder_browser_clear_search): Removed.
* mail-vfolder.c (vfolder_clone_rule): New function to clone a
filter/search rule into a matching vfolder rule.
* mail-send-recv.c (mail_receive_uri): Setup a timeout for status
updates.
(build_dialogue): Setup timeout id for status updates.
(operation_status_timeout): New function to set the status via a
timeout.
(receive_done): Remove the timeout handler if we need to.
(operation_status):
(receive_status): Just update the info, and let the timeout
handler update the gui.
(do_free_status):
(do_show_status): Removed gui thread status message processing.
2001-02-28 Not Zed <NotZed@Ximian.com>
* folder-browser.c (folder_browser_config_search): New function to
configure the FilterRule for the search mechanism.
2001-02-27 Not Zed <NotZed@Ximian.com>
* folder-browser.c (folder_browser_gui_init): Setup the search bar
as a filterbar.
(got_folder): Set the whole search bar sensitive or not based on
the search capability of the folder.
* folder-browser.h: Changed to use efilterbar instead of esearchbar.
svn path=/trunk/; revision=8438
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r-- | mail/mail-vfolder.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c index cb5be64207..706f259b85 100644 --- a/mail/mail-vfolder.c +++ b/mail/mail-vfolder.c @@ -309,6 +309,20 @@ vfolder_create_part(const char *name) return rule_context_create_part((RuleContext *)context, name); } +/* clones a filter/search rule into a matching vfolder rule (assuming the same system definitions) */ +FilterRule * +vfolder_clone_rule(FilterRule *in) +{ + FilterRule *rule = vfolder_rule_new(); + xmlNodePtr xml; + + xml = filter_rule_xml_encode(in); + filter_rule_xml_decode(rule, xml, (RuleContext *)context); + xmlFreeNodeList(xml); + + return rule; +} + /* adds a rule with a gui */ void vfolder_gui_add_rule(VfolderRule *rule) |