| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
2004-11-15 Not Zed <NotZed@Ximian.com>
* *.c: Moved stuff from e-util to libedataserver.
* filter-system-flag.c: removed gal header.
svn path=/trunk/; revision=28051
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-06 Jeffrey Stedfast <fejj@ximian.com>
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 <fejj@ximian.com>
* 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.
svn path=/trunk/; revision=21390
|
|
|
|
| |
svn path=/trunk/; revision=18862
|
|
|
|
|
|
|
|
| |
2002-11-20 Jeffrey Stedfast <fejj@ximian.com>
* filter-label.c (xml_create): gconfify.
svn path=/trunk/; revision=18861
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-07 Jeffrey Stedfast <fejj@ximian.com>
* 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=18635
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=18581
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Jeffrey Stedfast <fejj@ximian.com>
* filter-filter.c: Ported.
* filter-source.c (get_widget): Don't use e_utf8_to_gtk_string.
* filter-option.c (xml_create): Don't use e_utf8_xml1_decode.
* filter-input.c (xml_encode): Don't use e_utf8_xml1_encode.
(xml_decode): Don't use e_utf8_xml1_decode.
(entry_changed): Don't use e_utf8_gtk_entry_get_text.
(get_widget): Don't use e_utf8_gtk_entry_set_text.
* filter-file.c (xml_encode): Don't use e_utf8_xml1_encode shit.
(xml_decode): Don't use e_utf8_xml1_decode.
(entry_changed): Don't use e_utf8_gtk_entry_get_text.
(get_widget): Don't use e_utf8_gtk_entry_set_text.
svn path=/trunk/; revision=18570
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
2002-07-17 Jeffrey Stedfast <fejj@ximian.com>
* filter-label.c (xml_create): Use the U_() macro to get the UTF-8
translation.
svn path=/trunk/; revision=17495
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-15 Not Zed <NotZed@Ximian.com>
* filter-score.[ch]: cvs remove.
* filter-element.c: Remove reference to filter-score.h
* vfoldertypes.xml: Fix label vfolder rule as below, also add
score and size rules from filtertypes.xml.
* filtertypes.xml (score): Use (cast-int (user-tag "score")) to
get the value directly, rather than (get-score).
(label): Use (user-tag "label") to get the value directly, rather
than (get-label). The label is now a string too.
* filter-label.c (filter_label_get_type): Make filter-label
inherit from filter-option. Which makes more sense doesn't it
... surely.
(validate): Removed, optionlists are self-validating.
(xml_create): Initialise the list of options from our
configuration database. If it isn't working, ignore it and set it
up anyway.
(filter_label_init): Override the xml type.
(filter_label_count):
(filter_label_label):
(filter_label_index): Some helper functions for external
interfaces. All of the mail config/etc should use this.
* filter-option.c (free_option):
(xml_create):
(clone): Made the "value" type in glib memory rather than xml
memory space.
(filter_option_add): Utility function to add a new option to the
list.
(clone): Use above function to simplify code.
(xml_create): Same here.
(xml_encode): Allow subclasses to override the type.
svn path=/trunk/; revision=17472
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-10 Not Zed <NotZed@Ximian.com>
** fixes for #10781
* filter-int.c (xml_encode):
(xml_decode): Handle encoding/decoding with a type name, in a
manner compatible with the score/label elemtns.
(filter_int_new_type): New constructor to create a generic 'int'
type.
* filter-score.c: Removed. Now relies on using a filter-int with
appropriate settings.
* filter-label.[ch]: Now inherits from filter-int.
* rule-context.c (rule_context_revert): New method to revert a
filter context back to a user-file's definition.
(revert): implementation.
* filter-rule.h: Added new virtual method _eq and wrapper, and
fixed all subclasses to implement it.
* filter-element.h: Added new virtual method _eq and wrapper.
Fixed all subclasses to implement it.
svn path=/trunk/; revision=17448
|
|
2002-05-16 Jeffrey Stedfast <fejj@ximian.com>
* vfoldertypes.xml: Added a label definition.
* filtertypes.xml: Added a label definition.
* filter-label.c: New filter widget for labels.
* filter-element.c (filter_element_new_type_name): Add support for
the new label widget.
* filter-int.c (format_sexp): Fixed a memory leak.
svn path=/trunk/; revision=16936
|