aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-colour.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix compilation warnings in filter directory (#439118).Matthew Barnes2007-06-031-13/+13
| | | | svn path=/trunk/; revision=33624
* ** Fixes bug #373116Matthew Barnes2007-04-021-58/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-04-01 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #373116 * calendar/gui/calendar-component.c (ensure_sources): * calendar/gui/e-cal-model.c (ecm_get_color_for_component): * calendar/gui/memos-component.c (ensure_sources): * calendar/gui/migration.c (create_calendar_contact_source), (create_calendar_sources), (create_task_sources), (create_memo_sources), (add_gw_esource): * calendar/gui/tasks-component.c (ensure_sources): * plugins/groupwise-account-setup/camel-gw-listener.c (add_esource): Use the new ESource color API. * calendar/gui/dialogs/cal-prefs-dialog.c: * calendar/gui/dialogs/cal-prefs-dialog.glade: * calendar/gui/dialogs/calendar-setup.c: * calendar/gui/dialogs/calendar-setup.glade: * filter-colour.c (get_widget): * mail/em-composer-prefs.c: * mail/em-composer-prefs.h: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-config.glade: Migrate from GnomeColorPicker to GtkColorButton. * filter/filter-colour.h: Store color as a GdkColor instead of separate RGBA components. * filter/filter-colour.c (color_eq): Use gdk_color_equal() to compare colors. * filter/filter-colour.c (xml_encode): Encode color as a single property ("spec"). * filter/filter-colour.c (xml_decode): Read the color from a single property ("spec"). Provide a migration path for old XML files. * calendar/gui/calendar-component.c (calendar_config_get_tasks_due_today_color), (calendar_config_get_tasks_overdue_color): Return a GdkColor instead of an X color specification. * calendar/gui/calendar-component.c (calendar_config_set_tasks_due_today_color), (calendar_config_set_tasks_overdue_color): Accept a GdkColor instead of an X color specification. * calenar/gui/e-cal-model-tasks.c (ecmt_get_color_for_component): Adapt to modified color API in calendar-component.c by converting the GdkColor to an X color specification. This is an ugly hack to be fixed later. svn path=/trunk/; revision=33349
* Moved stuff from e-util to libedataserver.Not Zed2004-12-031-1/+1
| | | | | | | | | | 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
* Format the colour string in a way that gdk_color_parse() will handle.Jeffrey Stedfast2003-05-071-1/+1
| | | | | | | | | | 2003-05-05 Jeffrey Stedfast <fejj@ximian.com> * filter-colour.c (format_sexp): Format the colour string in a way that gdk_color_parse() will handle. Apparently it no longer handles rgb:<red>/<green>/<blue>? Fixes bug #42345. svn path=/trunk/; revision=21115
* FILTER_RULE_CLASS -> _GET_CLASSNot Zed2002-11-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | 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
* some build fixesJeffrey Stedfast2002-11-061-5/+5
| | | | svn path=/trunk/; revision=18575
* Ported to GObject.Jeffrey Stedfast2002-11-021-88/+80
| | | | | | | | | | | | | | 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. svn path=/trunk/; revision=18492
* ** fixes for #10781Not Zed2002-07-151-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixing the license text.Ettore Perazzoli2001-10-281-11/+11
| | | | svn path=/trunk/; revision=14215
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-1/+1
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Plug memory leaks.Dan Winship2001-04-191-1/+1
| | | | | | | | | | | | | | * filter-colour.c, filter-datespec.c, filter-folder.c, filter-input.c, filter-option.c, filter-rule.c, filter-score.c, filter-source.c, score-rule.c (xml_decode): Plug memory leaks. * rule-context.c (rule_context_finalise): Implement. Free stuff. * filter-element.h: #include <gnome-xml/xmlmemory.h> here for xmlFree * filter-filter.c, filter-part.c: Remove xmlmemory.h #include svn path=/trunk/; revision=9451
* Fix headers. Remove unneccesary ones and replace with more finegrainedKjartan Maraas2001-03-301-2/+2
| | | | | | | | | 2001-03-30 Kjartan Maraas <kmaraas@gnome.org> * *.*: Fix headers. Remove unneccesary ones and replace with more finegrained ones where needed. svn path=/trunk/; revision=9028
* Add #include <config.h> and mark some strings for translation.Kjartan Maraas2001-02-051-0/+4
| | | | | | | | | | | 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
* ** Almost a total rewrite of every file, except for filter-driver whichNot Zed2000-07-301-0/+220
2000-07-30 Not Zed <NotZed@HelixCode.com> ** Almost a total rewrite of every file, except for filter-driver which just had minor updates. The rule format has changed. svn path=/trunk/; revision=4418