aboutsummaryrefslogtreecommitdiffstats
path: root/filter/vfolder-rule.h
Commit message (Collapse)AuthorAgeFilesLines
* ** See #59885.Not Zed2004-06-171-73/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-17 Not Zed <NotZed@Ximian.com> ** See #59885. ** Moved all of the mailer specific filter stuff into mail/*. * filter-element.c (copy_value): implement for base types. * filter-element.c (filter_element_copy_value): do this as a virtual method. * filter.glade: moved the vfolder stuff to mail/ * libfilter-i18n.h: removed, moved to mailer. * filter-errors.xml: moved the vfolder/filtering errors to the mail error file. * Makefile.am (EXTRA_DIST): moved *types.xml to mail. (INCLUDES): removed a bunch of mail dependencies. * filter-*.[ch], vfolder-*.[ch]: Moved all mail related filter and vfolder stuff to mail directory. * score-*.[ch]: Removed all of it. * vfolder-context.c (vfolder_new_element): and for vfolders. * filter-context.c (filter_new_element): implement for filter element types. * rule-context.c (rc_new_element): replacement for old filter_element_new_type_name. only has the basics. * filter-part.c (filter_part_xml_create): take a rule context as an argument & and look up the element name off the context. * rule-context.c (rule_context_new_element): new virtual method to get an element for a given name. * filter-element.c (filter_element_new_type_name): removed. svn path=/trunk/; revision=26379
* ** See bug #54338.Not Zed2004-02-201-1/+12
| | | | | | | | | | | | | | | | | | | 2004-02-20 Not Zed <NotZed@Ximian.com> ** See bug #54338. * vfolder-rule.c: instead of overriding the filter-rule's 'source' attribute for 'with sources', add a 'with' enum. (xml_decode): handle loading old-format files, as well as new ones, where the with is a prop on the sources xml. (xml_encode): set 'with' on save. (rule_copy): copy across with value. (get_widget): just hook onto option menu changed, dont bother setting up any per-item callbacks. (select_source_with_changed): callback to monitor source 'with' type. svn path=/trunk/; revision=24815
* Ported.Jeffrey Stedfast2002-11-061-19/+21
| | | | | | | | | | | | 2002-11-05 Jeffrey Stedfast <fejj@ximian.com> * vfolder-rule.c: Ported. * vfolder-editor.c: Ported. * vfolder-context.c: Ported. svn path=/trunk/; revision=18569
* Fixing the license text.Ettore Perazzoli2001-10-281-12/+12
| | | | svn path=/trunk/; revision=14215
* Added a validate function that checks to make sure that vfolders that haveJon Trowbridge2001-07-241-0/+2
| | | | | | | | | | | | | 2001-07-23 Jon Trowbridge <trow@ximian.com> * vfolder-rule.c (validate): Added a validate function that checks to make sure that vfolders that have "specific folders" as their source actually have a non-empty list of source folders selected. (Bug #4937) (get_widget): If fr->source is NULL for some reason, bring it into sync with the default in the option menu. svn path=/trunk/; revision=11336
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-1/+1
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Fix headers. Remove unneccesary ones and replace with more finegrainedKjartan Maraas2001-03-301-1/+0
| | | | | | | | | 2001-03-30 Kjartan Maraas <kmaraas@gnome.org> * *.*: Fix headers. Remove unneccesary ones and replace with more finegrained ones where needed. svn path=/trunk/; revision=9028
* Set value of a simple type to a new string.Not Zed2000-07-311-0/+59
2000-07-31 Not Zed <NotZed@HelixCode.com> * filter-input.c (filter_input_set_value): Set value of a simple type to a new string. * filter-option.c (filter_option_set_current): New function to set the current value of an option. * filter-rule.c (filter_rule_find_list): New function to find a rule in a list, by name. (filter_rule_set_name): Let you set the name of a rule. * rule-context.c (rule_context_find_rule): Find a rule by name. (rule_context_create_part): Helper to find and clone a part by name. * filter-folder.c (button_clicked): Fix warning. * filter.glade: Add new widgets for vfolder rule editor. * vfolder-context.c (vfolder_context_init): Changed to use vfolder rule as the rule type. * vfolder-rule.c: New class to encode extra information required for vfolder rules. svn path=/trunk/; revision=4421