From 7a12fa1fe21ca189e2800a27682bc2cc44396b6a Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 15 Aug 2000 18:16:39 +0000 Subject: Allow filtering / vfoldering based on time or date svn path=/trunk/; revision=4843 --- filter/filter-element.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'filter/filter-element.c') diff --git a/filter/filter-element.c b/filter/filter-element.c index 049b15727b..e0b896daf2 100644 --- a/filter/filter-element.c +++ b/filter/filter-element.c @@ -26,6 +26,7 @@ #include "filter-option.h" #include "filter-code.h" #include "filter-colour.h" +#include "filter-datespec.h" #include "filter-folder.h" static void xml_create(FilterElement *fe, xmlNodePtr node); @@ -237,6 +238,8 @@ FilterElement *filter_element_new_type_name (const char *type) return (FilterElement *)filter_colour_new(); } else if (!strcmp(type, "optionlist")) { return (FilterElement *)filter_option_new(); + } else if (!strcmp(type, "datespec")) { + return (FilterElement *)filter_datespec_new(); } else { g_warning("Unknown filter type '%s'", type); return 0; -- cgit