diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-15 20:38:57 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-12-15 20:38:57 +0100 |
commit | f1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (patch) | |
tree | a1f2ab30332a6383b0677bfcc2aec687b98851d6 /src/DesktopIntegration.vala | |
parent | f8ca421bdacee8851965a4b802ada1d2366bdbc1 (diff) | |
parent | ede50c561ec9811704821a9ea0f04c3d6c20b5af (diff) |
Merge branch 'release/0.26.4-1'0.26.4-1
Diffstat (limited to 'src/DesktopIntegration.vala')
-rw-r--r-- | src/DesktopIntegration.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DesktopIntegration.vala b/src/DesktopIntegration.vala index 89ff556..80e8b2e 100644 --- a/src/DesktopIntegration.vala +++ b/src/DesktopIntegration.vala @@ -215,15 +215,15 @@ private class BackgroundSlideshowXMLBuilder { private void write_transition(File from, File to) throws Error { outs.put_string(" <transition>\n"); outs.put_string(" <duration>%2.2f</duration>\n".printf(transition)); - outs.put_string(" <from>%s</from>\n".printf(from.get_path())); - outs.put_string(" <to>%s</to>\n".printf(to.get_path())); + outs.put_string(" <from>%s</from>\n".printf(Markup.escape_text(from.get_path()))); + outs.put_string(" <to>%s</to>\n".printf(Markup.escape_text(to.get_path()))); outs.put_string(" </transition>\n"); } private void write_static(File file) throws Error { outs.put_string(" <static>\n"); outs.put_string(" <duration>%2.2f</duration>\n".printf(duration)); - outs.put_string(" <file>%s</file>\n".printf(file.get_path())); + outs.put_string(" <file>%s</file>\n".printf(Markup.escape_text(file.get_path()))); outs.put_string(" </static>\n"); } |