[evolution] Add 'Expression' condition to Calendar/Memo/Task Advanced Searches
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Add 'Expression' condition to Calendar/Memo/Task Advanced Searches
- Date: Thu, 8 Oct 2020 15:41:38 +0000 (UTC)
commit 3753ab4bf88d991c97db6b658ac03e42a7e99a99
Author: Milan Crha <mcrha redhat com>
Date: Thu Oct 8 17:37:16 2020 +0200
Add 'Expression' condition to Calendar/Memo/Task Advanced Searches
To let users create their own S-Expression expressions for
the advanced searches, the same as they can do in Mail and
Contacts views.
src/calendar/gui/caltypes.xml.in | 6 ++++++
src/calendar/gui/memotypes.xml.in | 5 +++++
src/calendar/gui/tasktypes.xml.in | 4 ++++
3 files changed, 15 insertions(+)
---
diff --git a/src/calendar/gui/caltypes.xml.in b/src/calendar/gui/caltypes.xml.in
index 81276c40a6..c8d9913903 100644
--- a/src/calendar/gui/caltypes.xml.in
+++ b/src/calendar/gui/caltypes.xml.in
@@ -187,6 +187,12 @@
</input>
<input type="integer" name="count"/>
</part>
+
+ <part name="sexp">
+ <_title>Expression</_title>
+ <input type="code" name="code"/>
+ </part>
+
</partset>
<ruleset>
diff --git a/src/calendar/gui/memotypes.xml.in b/src/calendar/gui/memotypes.xml.in
index 268d9a0d93..79c038692b 100644
--- a/src/calendar/gui/memotypes.xml.in
+++ b/src/calendar/gui/memotypes.xml.in
@@ -121,6 +121,11 @@
</input>
</part>
+ <part name="sexp">
+ <_title>Expression</_title>
+ <input type="code" name="code"/>
+ </part>
+
</partset>
<ruleset>
diff --git a/src/calendar/gui/tasktypes.xml.in b/src/calendar/gui/tasktypes.xml.in
index ba31840c4c..f3d64e17f2 100644
--- a/src/calendar/gui/tasktypes.xml.in
+++ b/src/calendar/gui/tasktypes.xml.in
@@ -200,6 +200,10 @@
<input type="completedpercent" name="versus"/>
</part>
+ <part name="sexp">
+ <_title>Expression</_title>
+ <input type="code" name="code"/>
+ </part>
</partset>
<ruleset>
<rule grouping="any" source="demand">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]