aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-system-flag.c
Commit message (Collapse)AuthorAgeFilesLines
* Add #include <config.h> and mark some strings for translation.Kjartan Maraas2001-02-051-3/+7
| | | | | | | | | | | 2001-02-05 Kjartan Maraas <kmaraas@gnome.org> * filter-code.c, filter-colour.c, filter-context.c, filter-element.c, filter-input.c, filter-score.c, filter-system-flag.c, filter-url.c: Add #include <config.h> and mark some strings for translation. svn path=/trunk/; revision=7967
* Attach to the "activate" signal - this should now make it so that aJeffrey Stedfast2001-01-101-7/+17
| | | | | | | | | | | | | | | 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
* comment out some of the system flags as we don't want to use them.Jeffrey Stedfast2001-01-041-4/+4
| | | | | | | | | | | 2001-01-04 Jeffrey Stedfast <fejj@helixcode.com> * filter-system-flag.c: comment out some of the system flags as we don't want to use them. (xml_encode): Update the printf (get_widget): Use strcmp instead of g_strcasecmp. svn path=/trunk/; revision=7244
* Added support for the system-flag type.Jeffrey Stedfast2000-12-021-0/+255
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