aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-vfolder-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-vfolder-context.c')
-rw-r--r--mail/em-vfolder-context.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/mail/em-vfolder-context.c b/mail/em-vfolder-context.c
index eebf12e960..88c97b0a0f 100644
--- a/mail/em-vfolder-context.c
+++ b/mail/em-vfolder-context.c
@@ -33,6 +33,8 @@
#include "filter/filter-option.h"
#include "filter/filter-int.h"
+#include "em-filter-folder-element.h"
+
static FilterElement *vfolder_new_element(RuleContext *rc, const char *type);
static RuleContextClass *parent_class = NULL;
@@ -108,6 +110,13 @@ vfolder_new_element(RuleContext *rc, const char *type)
return (FilterElement *) filter_option_new();
} else if (!strcmp(type, "score")) {
return (FilterElement *) filter_int_new_type("score", -3, 3);
+ } else if (!strcmp(type, "folder-curi")) {
+ EMFilterFolderElement *ff = em_filter_folder_element_new ();
+ if (ff)
+ ff->store_camel_uri = TRUE;
+ return (FilterElement *) ff;
+ } else if (!strcmp(type, "folder")) {
+ return (FilterElement *) em_filter_folder_element_new();
} else {
return parent_class->new_element(rc, type);
}
dns/dsc
Commit message (Expand)AuthorAgeFilesLines
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-081-2/+0
* Add WWW entries to port MakefilesStefan Eßer2022-09-081-0/+1
* dns: remove 'Created by' linesTobias C. Berner2022-07-201-2/+0
* dns/dsc: update to 2.13.0Leo Vandewoestijne2022-04-073-20/+10
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-061-3/+0
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
* dns/dsc: update to 2.11.1Craig Leres2020-08-192-5/+4
* dns/dsc: Improve out-of-box behaviorCraig Leres2020-04-132-3/+9
* Convert to UCL & cleanup pkg-message (categories d)Mathieu Arnold2019-08-141-4/+6
* dns/dsc: update to 2.8.1Steve Wills2019-07-172-5/+6
* Put LIB_DEPENDS after BUILD_DEPENDS as per mat@ (and the Porter'sCraig Leres2019-02-151-1/+1
* Upgrade to 2.8.0:Craig Leres2019-02-143-23/+16
* Undeprecate and retain GeoIP support by switching from net/GeoIPCraig Leres2019-02-133-10/+9
* Deprecate everything that depends on net/GeoIP and everything that dependsAdam Weinberger2019-01-141-0/+3
* Add DOCS options to ports that should have one.Mathieu Arnold2018-09-101-0/+2
* Replace PREFIX with LOCALBASE as suggested by danfe@Craig Leres2018-08-291-1/+1
* Update to 2.7.0. Add --with-extra-cflags=-I${PREFIX}/includeCraig Leres2018-08-284-6/+59
* Remove all := from BUILD_DEPENDS, here are never needed.Mathieu Arnold2018-07-091-1/+1
* dns/{dsc|dsp|p5-DSC|p5-App-DSC-DataTool}: fix WWW in pkg-descrKurt Jaeger2018-03-241-1/+1