diff options
| author | bulia byak <buliabyak@gmail.com> | 2007-08-20 01:38:47 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2007-08-20 01:38:47 +0000 |
| commit | ce635b32fc9b5fa8efb13784198cda1dd5a26cb5 (patch) | |
| tree | 1b6a6f6ebdd59dda778d62f5236a0cfede9a6048 /src | |
| parent | search and reset buttons added to ocal related features. fixed signals in imp... (diff) | |
| download | inkscape-ce635b32fc9b5fa8efb13784198cda1dd5a26cb5.tar.gz inkscape-ce635b32fc9b5fa8efb13784198cda1dd5a26cb5.zip | |
fix 1777084
(bzr r3545)
Diffstat (limited to 'src')
| -rw-r--r-- | src/dialogs/stroke-style.cpp | 7 | ||||
| -rw-r--r-- | src/ui/widget/selected-style.cpp | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/dialogs/stroke-style.cpp b/src/dialogs/stroke-style.cpp index fd43d374c..c7e8d8989 100644 --- a/src/dialogs/stroke-style.cpp +++ b/src/dialogs/stroke-style.cpp @@ -470,6 +470,13 @@ sp_stroke_style_paint_changed(SPPaintSelector *psel, SPWidget *spw) if (items) { SPCSSAttr *css = sp_repr_css_attr_new (); sp_repr_css_unset_property (css, "stroke"); + sp_repr_css_unset_property (css, "stroke-opacity"); + sp_repr_css_unset_property (css, "stroke-width"); + sp_repr_css_unset_property (css, "stroke-miterlimit"); + sp_repr_css_unset_property (css, "stroke-linejoin"); + sp_repr_css_unset_property (css, "stroke-linecap"); + sp_repr_css_unset_property (css, "stroke-dashoffset"); + sp_repr_css_unset_property (css, "stroke-dasharray"); sp_desktop_set_style (desktop, css); sp_repr_css_attr_unref (css); diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp index fcd56ad44..e2ac69b4c 100644 --- a/src/ui/widget/selected-style.cpp +++ b/src/ui/widget/selected-style.cpp @@ -480,6 +480,13 @@ void SelectedStyle::on_fill_unset() { void SelectedStyle::on_stroke_unset() { SPCSSAttr *css = sp_repr_css_attr_new (); sp_repr_css_unset_property (css, "stroke"); + sp_repr_css_unset_property (css, "stroke-opacity"); + sp_repr_css_unset_property (css, "stroke-width"); + sp_repr_css_unset_property (css, "stroke-miterlimit"); + sp_repr_css_unset_property (css, "stroke-linejoin"); + sp_repr_css_unset_property (css, "stroke-linecap"); + sp_repr_css_unset_property (css, "stroke-dashoffset"); + sp_repr_css_unset_property (css, "stroke-dasharray"); sp_desktop_set_style (_desktop, css, true, true); sp_repr_css_attr_unref (css); sp_document_done (sp_desktop_document(_desktop), SP_VERB_DIALOG_FILL_STROKE, |
