diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-11-08 11:25:15 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-11-08 11:25:15 +0000 |
| commit | 965e178e307b4c82ad8b618cf6af6d3c3c31d2cb (patch) | |
| tree | 0a25a1dac88b74cb72603631ea790539eb6d1917 /src/ui | |
| parent | a little retouch to extension dpiswitcher (diff) | |
| download | inkscape-965e178e307b4c82ad8b618cf6af6d3c3c31d2cb.tar.gz inkscape-965e178e307b4c82ad8b618cf6af6d3c3c31d2cb.zip | |
Black list some properties that shouldn't appear in default styles.
(bzr r13679)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index a98494e18..75cfe5bfe 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -234,6 +234,9 @@ static void StyleFromSelectionToTool(Glib::ustring const &prefs_path, StyleSwatc if (!css) return; + // remove black-listed properties + css = sp_css_attr_unset_blacklist (css); + // only store text style for the text tool if (prefs_path != "/tools/text") { css = sp_css_attr_unset_text (css); |
