aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-09-29 20:43:28 +0800
committerMilan Crha <mcrha@redhat.com>2011-09-29 20:43:28 +0800
commitf8e6c60b2facac19916b72323ce78dbfa137d00c (patch)
tree91ef943cb766652c66a58cd37e090e12ada94edd /calendar
parent14f152070d536316d3ae627e4455318e056189d6 (diff)
downloadgsoc2013-evolution-f8e6c60b2facac19916b72323ce78dbfa137d00c.tar
gsoc2013-evolution-f8e6c60b2facac19916b72323ce78dbfa137d00c.tar.gz
gsoc2013-evolution-f8e6c60b2facac19916b72323ce78dbfa137d00c.tar.bz2
gsoc2013-evolution-f8e6c60b2facac19916b72323ce78dbfa137d00c.tar.lz
gsoc2013-evolution-f8e6c60b2facac19916b72323ce78dbfa137d00c.tar.xz
gsoc2013-evolution-f8e6c60b2facac19916b72323ce78dbfa137d00c.tar.zst
gsoc2013-evolution-f8e6c60b2facac19916b72323ce78dbfa137d00c.zip
Bug #632619 - Recurring events can clutter month view
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/caltypes.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/calendar/gui/caltypes.xml b/calendar/gui/caltypes.xml
index c1997a4fb0..964b623a3e 100644
--- a/calendar/gui/caltypes.xml
+++ b/calendar/gui/caltypes.xml
@@ -168,6 +168,25 @@
</option>
</input>
</part>
+
+ <part name="count-occurrences">
+ <_title>Occurs</_title>
+ <input type="optionlist" name="match-type">
+ <option value="less-than">
+ <_title>Less Than</_title>
+ <code>((or (= (occurrences-count?) (- 1)) (&lt; (occurrences-count?) ${count}))</code>
+ </option>
+ <option value="exactly">
+ <_title>Exactly</_title>
+ <code>((or (= (occurrences-count?) (- 1)) (= (occurrences-count?) ${count}))</code>
+ </option>
+ <option value="more-than">
+ <_title>More Than</_title>
+ <code>((or (= (occurrences-count?) (- 1)) (&gt; (occurrences-count?) ${count}))</code>
+ </option>
+ </input>
+ <input type="integer" name="count"/>
+ </part>
</partset>
<ruleset>