diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/embroider_settings.xml | 24 | ||||
| -rw-r--r-- | templates/preferences.xml | 15 |
2 files changed, 15 insertions, 24 deletions
diff --git a/templates/embroider_settings.xml b/templates/embroider_settings.xml deleted file mode 100644 index 362aa7f9..00000000 --- a/templates/embroider_settings.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension"> - <name>Preferences</name> - <id>org.inkstitch.embroider_settings</id> - <param name="extension" type="string" gui-hidden="true">embroider_settings</param> - <effect needs-live-preview="false"> - <object-type>all</object-type> - <effects-menu> - <submenu name="Ink/Stitch" translatable="no" /> - </effects-menu> - </effect> - <param name="output_settings" type="description" appearance="header"> - Output Settings - </param> - <param name="collapse_len_mm" type="float" precision="1" min="0" max="10" - gui-text="Collapse length (mm)" - gui-description="Jump stitches smaller than this will be treated as normal stitches.">3</param> - <param name="min_stitch_len_mm" type="float" precision="1" min="0" max="10" - gui-text="Minimal stitch length (mm)" - gui-description="Drop stitches smaller than this value.">0.1</param> - <script> - {{ command_tag | safe }} - </script> -</inkscape-extension> diff --git a/templates/preferences.xml b/templates/preferences.xml new file mode 100644 index 00000000..ac006521 --- /dev/null +++ b/templates/preferences.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension"> + <name>Preferences</name> + <id>org.inkstitch.preferences</id> + <param name="extension" type="string" gui-hidden="true">preferences</param> + <effect implements-custom-gui="true"> + <object-type>all</object-type> + <effects-menu> + <submenu name="Ink/Stitch" translatable="no"/> + </effects-menu> + </effect> + <script> + {{ command_tag | safe }} + </script> +</inkscape-extension> |
