aboutsummaryrefslogtreecommitdiffstats
path: root/filter/libfilter-i18n.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed a grammer mistake, or so according to bug #23376. Whatever.Jeffrey Stedfast2002-04-131-18/+19
| | | | | | | | | 2002-04-12 Jeffrey Stedfast <fejj@ximian.com> * filter-rule.c (get_widget): Fixed a grammer mistake, or so according to bug #23376. Whatever. svn path=/trunk/; revision=16454
* Added closing ) for "not starts with" subject rule.Not Zed2002-04-101-18/+18
| | | | | | | | | 2002-04-10 Not Zed <NotZed@Ximian.com> * filtertypes.xml: Added closing ) for "not starts with" subject rule. svn path=/trunk/; revision=16406
* updated i18n headerJeffrey Stedfast2002-03-071-18/+20
| | | | svn path=/trunk/; revision=15951
* Copy values across to new part.Not Zed2002-02-261-18/+18
| | | | | | | | | | | | | | | | | | 2002-02-26 Not Zed <NotZed@Ximian.com> * filter-filter.c (option_activate): Copy values across to new part. * filter-rule.c (option_activate): copy values across to new part, if they are compatible. * filter-element.c (filter_element_copy_value): New function to copy values (where they can be) from one filter element to another. * filter-part.c (filter_part_copy_values): New function to copy values of a filter part. #1359. svn path=/trunk/; revision=15841
* Re-added contains and not-contains. Also added filter/vfolder rules forJeffrey Stedfast2002-02-131-0/+3
| | | | | | | | | | | 2002-02-12 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: * filtertypes.xml: Re-added contains and not-contains. Also added filter/vfolder rules for Flag-for-Followup. svn path=/trunk/; revision=15694
* Re-added contains and not-contains.Jeffrey Stedfast2002-02-131-1/+0
| | | | | | | | 2002-02-12 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Re-added contains and not-contains. svn path=/trunk/; revision=15687
* Get the account name because that is the string we'd like to use forJeffrey Stedfast2002-01-041-8/+2
| | | | | | | | | | | | | 2002-01-03 Jeffrey Stedfast <fejj@ximian.com> * filter-source.c (filter_source_get_sources): Get the account name because that is the string we'd like to use for display. (get_widget): Generate the account label the same as we do for the composer's From optionmenu. (filter_source_finalize): Free the account_name. (clone): Pass along the account_name member to filter_add_source svn path=/trunk/; revision=15241
* Add new action to execute a shell command.Jeffrey Stedfast2001-12-181-18/+20
| | | | | | | | 2001-12-17 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Add new action to execute a shell command. svn path=/trunk/; revision=15138
* Hook onto destroy event. (edit_editor_destroyed): IF we get destroyed,Not Zed2001-11-281-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | 2001-11-21 Not Zed <NotZed@Ximian.com> * rule-editor.c (rule_edit): Hook onto destroy event. (edit_editor_destroyed): IF we get destroyed, fake a -1 click event to clean up. (rule_add): hook onto destroy of dialogue. (add_editor_destroyed): Simulate -1 click event to clean up. Fix for #15745. 2001-11-20 Not Zed <NotZed@Ximian.com> * vfolder-rule.c (source_add): Desensitise button while we're running, and if we are destroyed, exit and do nothing when we're done. Fixes crash in #15498. * filter-folder.c (button_clicked): Ref 'ff' around dialogue showing incase we go away before it returns. Also desensitise button that invoked us while its being processed & remove 'is_active' hack. Fixes similar problems to those in #15498. svn path=/trunk/; revision=14794
* Clone the current rule before editing it so that changes can be undone.Jeffrey Stedfast2001-09-131-18/+18
| | | | | | | | | | | | | | | | | | | | | | 2001-09-12 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_edit): Clone the current rule before editing it so that changes can be undone. (edit_editor_clicked): If the user hit OK, replace the original rule with the new one. * vfolder-rule.c (vfolder_rule_finalise): Free the sources list. (rule_copy): Implemented. * filter-filter.c (rule_copy): Implemented. * filter-rule.c (filter_rule_copy): New convenience function to copy one rule "into" another. (rule_copy): Default implementation. (filter_rule_clone): Use filter_rule_copy() internally to get rid of the nastiness/slowness of xml encoding and then decoding. svn path=/trunk/; revision=12787
* Removed comment about the need to resolve nicknames properly, because weJon Trowbridge2001-08-111-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Removed comment about the need to resolve nicknames properly, because we now do that. 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-filter-bar.h: Set the subitems to NULL in the pre-defined ESearchBarItems. * e-filter-bar.c (rule_editor_clicked): Set the ESearchBarItem's subitems to NULL. (build_items): Set the ESearchBarItem's subitems to NULL. (e_filter_bar_new): Set the ESearchBarItem's subitems to NULL. * e-search-bar.c: Added support for subitems, so that a search option can key off of another option menu rather than just an entry. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c: Set the ESearchBarItem subitems explicitly to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/cal-search-bar.c: Where we have ESearchBarItems, set their subitems to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c: Set our ESearchBarItems subitems to NULL. svn path=/trunk/; revision=11904
* Sync for the release.Ettore Perazzoli2001-08-011-1/+0
| | | | svn path=/trunk/; revision=11530
* Users should not be able to filter on "Status is Deleted" since we don'tJeffrey Stedfast2001-07-131-18/+18
| | | | | | | | | 2001-07-12 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Users should not be able to filter on "Status is Deleted" since we don't allow that in the filter driver code. svn path=/trunk/; revision=11049
* Bonobo-conf-ified. Removed /home/trow hard-wiring. :) (xml_encode): EncodeJon Trowbridge2001-07-091-18/+18
| | | | | | | | | | | | | 2001-07-09 Jon Trowbridge <trow@ximian.com> * filter-source.c (filter_source_get_sources): Bonobo-conf-ified. Removed /home/trow hard-wiring. :) (xml_encode): Encode things properly. (xml_decode): Decode things properly. (get_widget): Ignore accounts w/o source URLs. (clone): Set the ->name in our copy. svn path=/trunk/; revision=10903
* Select the most appropriate filter rule.Jeffrey Stedfast2001-07-061-1/+1
| | | | | | | | | 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * rule-editor.c (rule_delete): Select the most appropriate filter rule. svn path=/trunk/; revision=10836
* Added an integer type for filtering values. used for size.Sam Creasey2001-07-031-0/+1
| | | | | | | | | | | | 2001-07-02 Sam Creasey <sammy@oh.verio.com> * filter-int.c: Added an integer type for filtering values. used for size. * Makefile.am (SOURCES): added filter-int.c, filter-int.h * filtertypes.xml: added a part entry for size based filters svn path=/trunk/; revision=10717
* s/Is/is/ and s/Is Not/is not/ to be more consistant with the rest.Jeffrey Stedfast2001-04-161-20/+18
| | | | | | | | | 2001-04-15 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: s/Is/is/ and s/Is Not/is not/ to be more consistant with the rest. svn path=/trunk/; revision=9331
* Make the (previously unused) get-source command actually do the rightJon Trowbridge2001-04-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | 2001-04-13 Jon Trowbridge <trow@gnu.org> * camel-filter-search.c (get_source): Make the (previously unused) get-source command actually do the right thing, properly shrouding any passed-in source and falling back to use the source attached to the mime message. 2001-04-13 Jon Trowbridge <trow@gnu.org> * filtertypes.xml: Add XML specs for source account filtering. * filter-element.c (filter_element_new_type_name): Recognize type "source", construct a FilterSource. * filter-source.c: Added. A FilterElement for the account e-mail comes from. svn path=/trunk/; revision=9304
* Set the newpart on the container object. (less_parts): Remove the rule thtJeffrey Stedfast2001-04-031-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | 2001-04-02 Jeffrey Stedfast <fejj@ximian.com> * filter-filter.c (option_activate): Set the newpart on the container object. (less_parts): Remove the rule tht the user wants to remove. (attach_rule): Attach a new rule and it's remove button to the end of the table. (more_parts): Fix to resize the table and such. (get_widget): Don't have a remove action button, we are putting this next to the rule part now. * filter-rule.c (option_activate): Set the newpart on the container object. (less_parts): Remove the rule tht the user wants to remove. (attach_rule): Attach a new rule and it's remove button to the end of the table. (more_parts): Fix to resize the table and such. (get_widget): Don't have a remove action button, we are putting this next to the rule part now. svn path=/trunk/; revision=9115
* Removed filter-url.[c,h] and filter-system-flag.[c,h]Jeffrey Stedfast2001-03-171-1/+5
| | | | | | | | | | | | | | | | | | | 2001-03-16 Jeffrey Stedfast <fejj@ximian.com> * Makefile.am: Removed filter-url.[c,h] and filter-system-flag.[c,h] * filter-element.c (filter_element_new_type_name): Removed references to the url-type and system-flag types. * filtertypes.xml: Removed "source" type and fixed "status" to use the optionmenu. * filter-url.[c,h]: Removed. * filter-system-flag.[c,h]: Removed (just use optionmenu). svn path=/trunk/; revision=8768
* Added an "Attachments" filter option where you can filter messages thatJeffrey Stedfast2001-03-131-119/+8
| | | | | | | | | | | 2001-03-12 Jeffrey Stedfast <fejj@ximian.com> * filtertypes.xml: Added an "Attachments" filter option where you can filter messages that have (or do not have) attachments. This does not allow you to filter based on the types of the attachments. svn path=/trunk/; revision=8652
* IMAP subscriptions stuff.Aaron Weber2001-02-231-0/+114
| | | | | | | | 2001-02-23 Aaron Weber <aaron@helixcode.com> * C/usage-mail.sgml: IMAP subscriptions stuff. svn path=/trunk/; revision=8366
* Added mailing list matching rules.Not Zed2001-02-231-0/+1
| | | | | | | | | | 2001-02-23 Not Zed <NotZed@Ximian.com> * filtertypes.xml: Added mailing list matching rules. * vfoldertypes.xml: Added mailing list rules. svn path=/trunk/; revision=8356
* Changed Priority to Score.Jeffrey Stedfast2001-01-101-1/+1
| | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Changed Priority to Score. svn path=/trunk/; revision=7357
* Attach to the "activate" signal - this should now make it so that aJeffrey Stedfast2001-01-101-18/+18
| | | | | | | | | | | | | | | 2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * filter-option.c (get_widget): Attach to the "activate" signal - this should now make it so that a filter-option will "remember" what a user changed. * filter-system-flag.c (get_widget): Don't reset fsf->value to the first system flag, this should already be defaulted to the appropriate flag. This should fix the problem of always defaulting to the first menu option and thus "forgetting" the user's settings. svn path=/trunk/; revision=7356
* Unconditionally remove the client from the alarm notification system.Federico Mena Quintero2001-01-031-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | 2001-01-01 Federico Mena Quintero <federico@helixcode.com> * gui/gnome-cal.c (gnome_calendar_destroy): Unconditionally remove the client from the alarm notification system. Removed all the obsolete alarm code. * gui/event-editor.c: Removed some crufty externs left over from Gnomecal. * gui/calendar-commands.c: #include "goto.h" Removed crufty variables left over from Gnomecal. (new_calendar): Do not take a full_name parameter. (init_username): Removed function. (init_calendar): Wheeeeeeee! Removed crufty function. (quit_cmd): Removed function. * gui/print.c (WEEK_STARTS_ON_MONDAY): Made it unconditionally FALSE because we do not use the configuration setting anyways. Sigh, all the printing code needs to be revamped. svn path=/trunk/; revision=7209
* Forgot to commit this with my last set of changes to the filter codeJeffrey Stedfast2000-12-061-3/+0
| | | | svn path=/trunk/; revision=6805
* Added support for the system-flag type.Jeffrey Stedfast2000-12-021-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-12-01 Jeffrey Stedfast <fejj@helixcode.com> * filter-element.c (filter_element_new_type_name): Added support for the system-flag type. * Makefile.am: Added filter-system-flag.[c,h]. * filter-system-flag.[c,h]: New type for system flags. * filtertypes.xml: Oops, looks like we were still using integers as arguments to set-flag. Change over to using strings which are safer and also change the name to set-system-flag. * filter-driver.c (do_flag): Use strings instead of integers. Instead of set-flag, the callback is now set-system-flag for less confusion. Sorry Ettore, but you'll have to change your filters. * filtertypes.xml: Added system-flags stuff. * vfoldertypes.xml: And here too. * filter-message-search.c (system_flag): New ESExp callback for filtering on system flags. svn path=/trunk/; revision=6764
* Moved the regex filter rule around - we've changed the format a bit.Jeffrey Stedfast2000-11-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-11-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Moved the regex filter rule around - we've changed the format a bit. * filter-option.c (option_activate): Removed. (get_widget): Don't connect the activate signal. * filter-folder.c (validate): Updated. * filter-datespec.c (validate): Updated. * filter-part.c (filter_part_validate): Updated. * filter-input.c (validate): Check the filter-input type - if it's of type "regex", then check for regex validity. * filter-element.c (filter_element_validate): No longer takes a gpointer argument. (filter_element_new_type_name): Allow type "regex" and create a new filter-input with type "regex". 2000-11-24 Michael Meeks <michael@helixcode.com> * filter-message-search.c (get_full_header): impl. (header_full_regex): use it. 2000-11-23 Michael Meeks <michael@helixcode.com> * filter-message-search.c (header_full_regex): impl. svn path=/trunk/; revision=6685
* Updated to allow the user to select "sounds like" or "does not sound like"Jeffrey Stedfast2000-11-011-0/+2
| | | | | | | | | | | | | | | | | 2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Updated to allow the user to select "sounds like" or "does not sound like" (uses header-soundex). * filter-message-search.c (header_matches): Oops. Should be using !g_strncasecmp. This should fix it so this filter match works right. (header_starts_with): Same. (header_ends_with): Same. (header_soundex): New filter callback for soundex matching (yes, it's probably a bloated feature but hey, it was fun to code) svn path=/trunk/; revision=6302
* Updated to add an action to set message flags.Jeffrey Stedfast2000-11-011-0/+6
| | | | | | | | | | | | | | | | | 2000-10-31 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Updated to add an action to set message flags. * filter-driver.c (do_flag): New callback to set message info flags. * filter-element.c (filter_element_set_data): New convenience function to set the data on a FilterElement. * filter-url.c (get_widget): Set the sources list to point to the FilterElement data. svn path=/trunk/; revision=6298
* Added header-starts-with, header-ends-with, and header-exists menu items.Jeffrey Stedfast2000-10-281-2/+6
| | | | | | | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Added header-starts-with, header-ends-with, and header-exists menu items. * filter-message-search.c (header_starts_with): New callback to match the beginnings of headers. (header_ends_with): New callback to match the ends of headers. (header_exists): New callback to determine if a header exists which is useful when filtering out all those pesky bug-buddy emails! svn path=/trunk/; revision=6242
* Add header-matches expressions ("is" / "is not").Jeffrey Stedfast2000-10-281-0/+2
| | | | | | | | | | | 2000-10-27 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Add header-matches expressions ("is" / "is not"). * filter-message-search.c (header_matches): New callback to match headers exactly (aka strcmp rather than strstr). svn path=/trunk/; revision=6240
* Readded Source url stuff.Jeffrey Stedfast2000-10-261-0/+1
| | | | | | | | | | | | | | | 2000-10-26 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Readded Source url stuff. * filter-element.c (filter_element_new_type_name): Added url stuff back in. * filter-url.[c,h]: Back from the dead... * Makefile.am: Re-added filter-url.[c,h]. svn path=/trunk/; revision=6200
* Added option menu items to allow searching based on regular expressions.Jeffrey Stedfast2000-10-261-1/+2
| | | | | | | | | | | | | | | 2000-10-25 Jeffrey Stedfast <fejj@helixcode.com> * filtertypes.xml: Added option menu items to allow searching based on regular expressions. * filter-message-search.c (body_regex): New callback to match text in the body using regex. (body_contains): Modified to only match using strstr. (header_regex): New callback to match headers using regex. (header_contains): Modified to only match using strstr. svn path=/trunk/; revision=6177
* lots of i18n fixesDan Winship2000-10-241-0/+32
svn path=/trunk/; revision=6143