2004-03-30 Rodney Dawes * filter-editor.c (filter_editor_new): Use the new "filter_editor" that has been added to the glade file * filter.glade: Remove an unused piece of UI definition and add a new "filter_editor" that is the same as rule_editor, only for the filter editor dialogs, and change "Filter Rules" to "Search Rules" in the rule_editor * rule-editor.c (rule_editor_new): Set the child widget of the editor dialog appropriately 2004-03-29 Rodney Dawes * filter-filter.c (get_widget): * filter-rule.c (get_widget): Fix packing of the hbox that contains the actual input widgets to expand and fill 2004-03-26 Not Zed * filter-option.c (filter_option_add): return the added option. (clone): make sure we set the current option properly on the new copy. See #56028. * filtertypes.xml: s/pipe to shell command/pipe to program/ s/shell command/run program/, cleans up the UI a lot. 2004-03-20 Danilo Ĺ egan * filter-datespec.c (set_button): Use ngettext for handling plurals. (timespans): Use C preprocessor hacks to make xgettext see real ngettext messages (fixes part of #53464). 2004-03-16 Jeffrey Stedfast * filter-rule.c (rule_copy): Don't ref the newly cloned rule (fix to previous patch). 2004-03-14 Bill Zhu * filter-rule.c (rule_copy): When copying a FilterPart of a rule, we need copy the data of parts together but not only copy the pointer. 2004-04-15 Rodney Dawes * filter-datespec.c (validate): (button_clicked): Hide the separators on these dialogs * filter-editor.c (filter_editor_new): Re-pack the rule_editor widget in here, and get rid of the GtkFrame-related code * filter-file.c (validate): Hide the separators on these dialogs * filter-filter.c (get_widget): Get rid of the GtkFrame, and relayout the widgets to be HIG-compliant * filter-folder.c (validate): Hide the separator on this dialog * filter-input.c (validate): Hide the separator on this dialog * filter-part.c (main): Hide the separator on this dialog * filter-rule.c (validate): Hide the separator on this dialog (get_widget): Get rid of the GtkFrame, and relayout the widgets to be HIG-compliant * filter.glade: Make the widget layouts here be HIG-compliant * rule-context.c (new_rule_response): (rule_context_add_rule_gui): Hide the separators on these dialogs * rule-editor.c (rule_editor_new): Get rid of the GtkFrame-related code (add_editor_response): Hide the dialog separator here (rule_add): Hide the dialog separator here (edit_editor_response): Hide the dialog separator here (rule_edit): Hide the dialog separator here (rule_editor_construct): Remove the rule_editor repacking code Set the dialog vbox's border width to 12 Set the mnemonic for the filter label here Hide the dialog separator on the filter editor dialog * vfolder-editor.c (vfolder_editor_new): Re-pack the appropriate editor widget in here Get rid of the GtkFrame-related code * vfolder-rule.c (validate): Hide the dialog separators here Original patch from William Jon McCann 2004-02-20 Jeffrey Stedfast * rule-editor.c (rule_delete): After setting the new selected iter, call cursor_changed() so we can update state. Fixes bug #54205. 2004-02-20 Not Zed ** 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. 2004-02-17 Not Zed * filter-int.c (int_clone): implement, since we dont store the min/max values in the xml output, we lose it otherwise. Bug #54155. 2004-02-06 Hans Petter Jansson * filter-input.c (filter_input_init): Default to an empty string for the value. (xml_decode): Remove old values before decoding the new ones. 2004-02-03 Dan Winship * Makefile.am (INCLUDES): add widgets/misc 2004-01-20 Not Zed * rule-context.c (revert): load from the just-loaded 'userdoc' rather than rc->user. (rule_context_finalise): remove user and system xmldoc files. (load): make rc->system and rc->user locals systemdoc userdoc, and free them immediately. 2004-01-16 Not Zed ** See bug #52467. * vfolder-rule.c (vfr_folder_response): convert the uri to an evolution uri, rather than a camel one, for storage. And remove double-calls to geT_selected_uri. (format_source): treat uri as an evolution uri and convert to a camel one to get something meaningful out of it. 2004-01-15 Radek Doulik * filtertypes.xml: s/spam/junk, added junk test rule, it must be lost while porting to 1.5 2003-08-20 Not Zed ** See bug #47751. * rule-editor.c (add_editor_response, edit_editor_response) (rule_edit, rule_add, rule_editor_construct, editor_response): * rule-context.c (new_rule_response, rule_context_add_rule_gui): * filter-datespec.c (button_clicked): RESPONSE_REJECT/ACCEPT -> RESPONSE_CANCEL/OK 2003-12-23 JP Rosevear * vfolder-rule.c (source_add): call peek instead of get as the function was renamed 2003-12-06 JP Rosevear * */Makefile.am: Remove hard coded disable deprecated flags 2003-12-04 Radek Doulik * filter-rule.h: added FILTER_SOURCE_JUNKTEST - perform only junktest on incoming mail 2003-11-26 JP Rosevear * Makefile.am: turn on deprecated gtk stuff 2003-11-17 Jeffrey Stedfast * vfolder-rule.c: #include "em-folder-tree.h" 2003-11-17 Not Zed * vfolder-rule.c (source_add): fix for folder selector api changes. (vfr_folder_response): handle the dialog response. 2003-10-22 Ettore Perazzoli * filter.glade: Remove Viewports around the treeviews, since they already have a scrolled window around them and the viewports cause a double bevel to appear. * rule-editor.c (rule_editor_treeview_new): Make the scrolled window have a GTK_SHADOW_IN shadow. * vfolder-rule.c (vfolder_editor_sourcelist_new): Likewise 2003-10-10 Not Zed * filter-folder.c (folder_selected): change for emfolderselectionbutton fixes. (get_widget): same. 2003-09-29 Ettore Perazzoli * filter-folder.c (get_widget): Use an EMFolderSelectionButton. 2003-09-22 Jeffrey Stedfast * filter-int.c (get_widget): Listen to the "value-changed" signal rather than the "changed" signal. Fixes bug #48166. 2003-09-16 Jeremy Katz * rule-context.c (rule_context_add_part_set): type should be a GType. (rule_context_add_rule_set): Likewise. * rule-context.h: Update prototypes. Use GType instead of int for type in _part_set_map and _rule_set_map. 2003-09-15 Not Zed ** See Natzilla task #47524 * filter-rule.h (FilterRule): add a system bit, for rules that shouldn't be edited/saved. * rule-context.c (load): check for ruleset maps in the system file, and if they exist, load in as system rules. (save): ignore system rules if they exist. * searchtypes.xml: Added a search-specific types folder. Also contains system searches that cannot be deleted. 2003-08-18 Ettore Perazzoli * vfolder-rule.c (source_add): As a temporary measure, don't call evolution_shell_client_user_select_folder() since this is not done by the shell anymore. * filter-folder.c (get_widget): Return NULL for now, since we can't get the folder selector button from the shell anymore. 2003-08-05 Not Zed ** See bug #42636. * vfoldertypes.xml: Fix some of the subject rules, they were missing matching ')'s. 2003-08-01 Not Zed ** See bug #47208. * filter-code.c (build_code): wrap the expression in a match-all so boolean expressions work properly for folder searches. 2003-07-23 Dan Winship * Makefile.am: Use EVO_MARSHAL_RULE 2003-06-13 Larry Ewing * filter-source.c (filter_source_finalize): free current_url. 2003-06-11 Mike Kestner * rule-context.c (load): stat the user file before parsing. 2003-06-06 Jeffrey Stedfast Fixes some leaks from bug #43883. * filter-file.c (xml_decode): Free file->path and set it to NULL before entering the loop to decode it. This way if the value is already set we don't leak it. Set file->path = g_strdup (str ? str : ""); and then xmlFree the str. 2003-05-21 Jeffrey Stedfast * filter-source.c (filter_source_get_sources): Same as below. * filter-label.c (xml_create): Unref the gconf client when we're finished with it.