aboutsummaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-11-12 17:31:55 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-11-12 17:31:55 +0100
commit6e10522fae18e13de45e32d3a12711970ab713ad (patch)
tree4673e162dcf7327060c5c16c551fb7308be38a08 /module
parentAdd check for repeated VEVENT:s in vdir. (diff)
downloadcalp-6e10522fae18e13de45e32d3a12711970ab713ad.tar.gz
calp-6e10522fae18e13de45e32d3a12711970ab713ad.tar.xz
Re-add move X-HNH-FILENAME from VCALENDAR to VEVENT.
Diffstat (limited to 'module')
-rw-r--r--module/vcomponent/parse.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/vcomponent/parse.scm b/module/vcomponent/parse.scm
index 288ba852..effc51c1 100644
--- a/module/vcomponent/parse.scm
+++ b/module/vcomponent/parse.scm
@@ -281,6 +281,8 @@ row ~a column ~a ctx = ~a
;; to a recurrence rule.
(for child in (children item)
(assert (memv (type child) '(VTIMEZONE VEVENT)))
+ (set! (attr child 'X-HNH-FILENAME)
+ (attr (parent child) 'X-HNH-FILENAME))
(add-child! calendar child))
calendar)
(make-vcomponent)