aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-arg-types.c
Commit message (Collapse)AuthorAgeFilesLines
* add a "string" typeDan Winship2000-07-101-4/+8
| | | | | | | | | | | | | | * filter-xml.[ch]: add a "string" type * filtertype.xml, vfoldertypes.xml: Use type="string" rather than "folder" for subject/body matching. * filter-arg-types.c: Update some strings for "text" input. Fix some warnings (including one that pointed out a real bug). * filter-arg.c, filter-druid.c, filter-format.c: fix warnings svn path=/trunk/; revision=4025
* remove some non-error case debugging messages.Dan Winship2000-07-061-4/+0
| | | | | | * remove some non-error case debugging messages. svn path=/trunk/; revision=3904
* Added an extra @allowed_types parameter to the shell's folderEttore Perazzoli2000-07-021-1/+2
| | | | | | selection dialog, and update the code that uses it accordingly. svn path=/trunk/; revision=3854
* EvolutionShellClient.Ettore Perazzoli2000-06-301-90/+21
| | | | svn path=/trunk/; revision=3820
* Changed "Filter name" to "Option value" as "Filter name" made no sense inJeffrey Stedfast2000-06-291-71/+73
| | | | | | | | | | | 2000-06-28 Jeffrey Stedfast <fejj@helixcode.com> * filter-arg-types.c (arg_string_edit_value): Changed "Filter name" to "Option value" as "Filter name" made no sense in the dialog (arg_address_edit_value): Same (arg_folder_edit_value): What do we want to return?? svn path=/trunk/; revision=3777
* Add the shell dir for includes (for corba interfaces).Michael Zucchi2000-06-271-11/+111
| | | | | | | | | | | | | | | | | 2000-06-27 Michael Zucchi <zucchi@zedzone.mmc.com.au> * Makefile.am (INCLUDES): Add the shell dir for includes (for corba interfaces). * filter-arg-types.c (impl_FolderSelectionListener_selected): Listener for folder query. Sigh. (create_listener): Create the listener object for the folder dialogue query. Uses a global for linkage to the shell object, via the mail component. (arg_folder_edit_value): Call the folder selection dialogue to edit the value, rather than a simple text widget. svn path=/trunk/; revision=3746
* Added a #include <gnome-xml/parser.h> as this was needed (since we usedJeffrey Stedfast2000-06-271-48/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-06-26 Jeffrey Stedfast <fejj@helixcode.com> * filter-editor.c: Added a #include <gnome-xml/parser.h> as this was needed (since we used the xml parser...) (druid_dialogue_clicked): Do we want to use struct filter_option or do we instead want to use struct filter_optionrule as we had before? Since the function we pass the data to expects filter_option, I suspect that that is what we want. * filter-format.h (filter_description_html_write): Renamed from description_html_write in order to match function name in filter-format.c * filter-druid.c (option_name_changed): Fixed a memory leak (Free'd a filter description list). * filter-arg-types.c (arg_folder_edit_values): Free'd GList data in argin->values. * filter-driver.c (filter_driver_set_rules): Added code to free an xmlDoc and some other data. * filter-arg.h: Add prototypes for filter_arg_write_html() and filter_arg_write_text(); * filter-arg-types.c: Lets see if we can't get rid of some of these warnings... (use some casts to make warnings go away) (arg_address_edit_value): Lets make sure that ad exists before looking at member data. svn path=/trunk/; revision=3741
* Search for ad in arg->values instead of text since it's a list ofChristopher James Lahey2000-06-021-1/+2
| | | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * filter-arg-types.c (arg_address_edit_value): Search for ad in arg->values instead of text since it's a list of filter_arg_adresses. Also, free the old value in the list. svn path=/trunk/; revision=3338
* Updated for the GtkHTML API changes. Also fixed some compilerEttore Perazzoli2000-05-211-3/+3
| | | | | | warnings here and there. svn path=/trunk/; revision=3145
* Plug some minor memleaks.NotZed2000-03-281-3/+9
| | | | | | | | | | | | | | | | | 2000-03-27 NotZed <NotZed@HelixCode.com> * filter-xml.c (tokenise_xmlfreeprop): Free a prop after tokenising it. (find_node_attr): Free the prop after using it. (load_desc): Ditto. I use free() because xmlFree() is nowhere to be found. (filter_load_optionset): Ditto. * filter-arg-types.c (arg_address_values_add_xml): free() xml stuff, plugs a leak. (arg_folder_values_add_xml): Ditto. svn path=/trunk/; revision=2193
* Disconnect the list signal, so we dont get spurious emits during destroy.NotZed2000-03-031-2/+6
| | | | | | | | | | | | | | 2000-03-02 NotZed <NotZed@HelixCode.com> * filter-druid.c (object_destroy): Disconnect the list signal, so we dont get spurious emits during destroy. (arg_changed): Callback to update filter arg asynchronously. (arg_link_clicked): Edit the value non-modally. * filter-arg.c (filter_arg_edit_values_1): Changed to use non-modal interface. svn path=/trunk/; revision=2015
* New utility functions for working with the internal rule format.NotZed2000-02-221-3/+100
| | | | | | | | | | | | | | | | | | | | | | 2000-02-22 NotZed <NotZed@HelixCode.com> * filter-xml.c (filter_clone_optionrule): (filter_clone_optionrule_free): (filter_optionrule_new_from_rule): New utility functions for working with the internal rule format. * filter-arg.[ch]: Added new callbacks for editing a single value, and a new editor which shows all items in a list, and allows you to edit them via the single-edit method. This needs some cleanup for some unused/unusable virtual methods (edit_values, write_html?). * Makefile: Add the druid for build. * filter-druid.c: A 'druid' widget for editing a single filter rule. svn path=/trunk/; revision=1901
* Now have loader/save, basic gui elements (which i wantNotZed2000-02-191-18/+271
| | | | | | | | | | to change), and uh, other stuff i forget right now. 2000-02-18 NotZed <NotZed@HelixCode.com> * Uh, more changes, lots, its still work in progress. svn path=/trunk/; revision=1851
* Initial revisionMichael Zucci2000-02-161-0/+393
svn path=/trunk/; revision=1786