2002-12-12 Jeffrey Stedfast <fejj@ximian.com>
* rule-editor.c (cursor_changed): Use an easier method for getting
the iter.
svn path=/trunk/; revision=19108
2002-12-12 Jeffrey Stedfast <fejj@ximian.com>
* vfolder-rule.c (vfolder_editor_sourcelist_new): New custom
function for creating the source_list widget.
(get_widget): Removed the source_list creation code.
* rule-editor.c (rule_editor_construct): Listen to row-activated
for double-click events. Also, removed the model creation code out
of here.
(rule_editor_treeview_new): Moved the treeview and model creation
code into here instead, and made the glade widgets into custom
widgets.
svn path=/trunk/; revision=19106
2002-11-26 Not Zed <NotZed@Ximian.com>
* vfolder-rule.c (get_widget): Add a textcellrenderer to display
the folders.
(get_widget): Remove FIXME which was wrong.
svn path=/trunk/; revision=18924
2002-11-26 Not Zed <NotZed@Ximian.com>
* filter-rule.c (filter_rule_validate): FILTER_RULE_CLASS ->
_GET_CLASS
* rule-context.c (rule_context_save): RULE_CONTEXT_CLASS ->
RULE_CONTEXT_GET_CLASS
(rule_context_revert): "
* *.[ch]: Ran fix.sh over all files.
* rule-editor.c (rule_add): widget:set_parent ->
window:set_transient_for
(editor_response): renamed from editor_clicked, handle gtk dialog
response codes.
(rule_edit): connect to response rather than clicked.
(rule_editor_construct): Setup a text column in the tree view.
Not sure if this can be handled via glade.
svn path=/trunk/; revision=18922
2002-11-13 Not Zed <NotZed@Ximian.com>
* vfolder-rule.c (source_add): comment out gtk_destroyed check.
* filter-label.c: Added back some of the guts. Might not work but
some of the code uses it :-/. Gives u a fixed set of non-editable
labels.
svn path=/trunk/; revision=18729
2002-11-07 Jeffrey Stedfast <fejj@ximian.com>
* vfolder-rule.c (validate): Use a GtkDialog instead of a
GnomeDialog for reporting errors.
* rule-editor.c (rule_add): Use a GtkDialog instead of
GnomeDialog.
(rule_edit): Same.
(add_editor_response): Use a GtkMessageDialog for the error
reporting instead of a GnomeDialog.
(edit_editor_response): Same.
* rule-context.c (rule_context_add_rule_gui): Use a GtkDialog
instead of a GnomeDialog.
* filter-rule.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-input.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-folder.c (validate): Use GtkDialog instead of GnomeDialog
here.
* filter-file.c (validate): Use GtkDialog instead of GnomeDialog
here.
* rule-editor.c: Subclass GtkDialog instead of GnomeDialog.
* filter-datespec.c (validate): Use GtkDialog instead of
GnomeDialog.
(button_clicked): Same.
svn path=/trunk/; revision=18651
2002-11-06 Jeffrey Stedfast <fejj@ximian.com>
* filter-label.c (xml_create): Deleted most of the internals until
we devise a gconf schema and redesign how we want to do this. It
didn't work correctly for 1.2 anyway.
svn path=/trunk/; revision=18618
2002-11-01 Jeffrey Stedfast <fejj@ximian.com>
* filter-element.c: Ported to GObject.
* filter-input.c: Same.
* filter-code.c: This too.
* filter-colour.c: And this.
* filter-datespec.c: You guessed it.
* filter-file.c: And again...
* filter-folder.c: Wheee! This is fun...
* filter-int.c: Gee, I wonder...
* filter-label.c: Also ported.
* filter-option.c: Yep, this too.
* filter-source.c: And finally this one.
svn path=/trunk/; revision=18495
* rule-editor.c (rule_add): Adjust default rule editor size to
accomodate the menu widening caused by "Pipe Message to Shell
Command".
svn path=/trunk/; revision=18470
2002-09-19 Not Zed <NotZed@Ximian.com>
* filtertypes.xml: Changed source account, use header-source
rather than (= (get-source) ...)
svn path=/trunk/; revision=18113
2002-09-13 Jeffrey Stedfast <fejj@ximian.com>
* filtertypes.xml: Add a Run Once action to run a command only
once rather than for each message that has that action applied.
svn path=/trunk/; revision=18068
2002-08-08 Not Zed <NotZed@Ximian.com>
* rule-editor.c (add_editor_clicked): Dont allow duplicate names.
(edit_editor_clicked): Same here. For #24803.
svn path=/trunk/; revision=17739
2002-08-06 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (save): Don't need to save temp/backup files
anymore, e_xml_save_file() now handles this for us (well, at least
the saving of temp files). I'm not sure we need a backup file
anymore now that we can depend on e_xml_save_file() to "Just Work"
svn path=/trunk/; revision=17727
2002-08-06 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (save): Use e_xml_save_file().
(xml_doc_save): Removed this code and added it to gal so that
e-table and all other parts of evolution and so forth could use
it.
svn path=/trunk/; revision=17720
2002-08-05 Jeffrey Stedfast <fejj@ximian.com>
* rule-context.c (xml_doc_save): New internal function to replace
xmlSaveFile. Does proper error checking and so forth to ensure
that the resulting file does not ever get truncated.
(save): Cal xml_doc_save rather than xmlSaveFile. Fixes bug
#25980.
svn path=/trunk/; revision=17703
2002-08-02 Not Zed <NotZed@Ximian.com>
* filter.glade: Added a datespec editor window.
* filter-datespec.c (button_clicked): Rewritten to use glade.
Simplified all the code around it as a result, etc, and fixed bug
#21798.
svn path=/trunk/; revision=17684
2002-08-01 Peter Williams <peterw@ximian.com>
* filter-datespec.c (activate_specified): If the value was unset,
initialize it to now.
svn path=/trunk/; revision=17670