summaryrefslogtreecommitdiff
path: root/src/DesktopIntegration.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-08-13 15:00:06 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-08-13 15:00:06 +0200
commit3c403a4863899d5caf0da09a42925855689ac5cd (patch)
tree8abe62db599c3b0e0642e12dc5b5c8b184498dab /src/DesktopIntegration.vala
parent6e9bda752d89f97b0c66e69d9e57376f2947df0a (diff)
parent3c829c50a8f705402bdc759946d49ae7caebd003 (diff)
Updated version 0.26.3 from 'upstream/0.26.3'
with Debian dir 214e96c00e302f0b57a90d9660ad38cb63e82670
Diffstat (limited to 'src/DesktopIntegration.vala')
-rw-r--r--src/DesktopIntegration.vala6
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");
}