summaryrefslogtreecommitdiffstats
path: root/src/extension/param/description.h
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-03-25 16:23:44 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-03-25 16:23:44 +0000
commit65fd4f5343e321dad33b3c8394a419cd0fef4a23 (patch)
tree3ce0daa804ee85a27d9692fee2c783427e20b8f8 /src/extension/param/description.h
parentAdd canvas flip. No GUI. Can be bound to keys via preferences. (diff)
downloadinkscape-65fd4f5343e321dad33b3c8394a419cd0fef4a23.tar.gz
inkscape-65fd4f5343e321dad33b3c8394a419cd0fef4a23.zip
Extensions: Correctly handle the xml:space="preserve" attribute for "description"s
This also fixes multiline descriptions (and other descriptions containing additional whitespace) not being translatable if xml:space="preserve" is not specified. Fixed bugs: - https://launchpad.net/bugs/1668115 (bzr r15607)
Diffstat (limited to 'src/extension/param/description.h')
-rw-r--r--src/extension/param/description.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/extension/param/description.h b/src/extension/param/description.h
index c6c5f4013..91342fa6a 100644
--- a/src/extension/param/description.h
+++ b/src/extension/param/description.h
@@ -46,6 +46,7 @@ private:
gchar * _value;
AppearanceMode _mode;
const gchar* _context;
+ bool _preserve_whitespace;
};
} /* namespace Extension */