summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2024-06-23 10:58:16 +0200
committerGitHub <noreply@github.com>2024-06-23 10:58:16 +0200
commit7a856a77e4d36a077cb1a5a1c50831463a6692a0 (patch)
tree05557c9609ab2c7ea37de161bfa2707804fd1e72 /templates
parentca07e28effeb7c097e7d99ef8ef925fd204184e0 (diff)
wxpythonify about extension (#3007)
Diffstat (limited to 'templates')
-rw-r--r--templates/about.xml25
-rw-r--r--templates/embroider.xml18
2 files changed, 6 insertions, 37 deletions
diff --git a/templates/about.xml b/templates/about.xml
index fc937936..b58a7ebc 100644
--- a/templates/about.xml
+++ b/templates/about.xml
@@ -2,27 +2,14 @@
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<name>About</name>
<id>org.{{ id_inkstitch }}.about</id>
- <param type="notebook" name="about-tabs" indent="1">
- <page name="about" gui-text="About">
- <image>{{ image_path }}inkstitch_colour_logo.svg</image>
- <label indent="1" appearance="header">Ink/Stitch - {{ inkstitch_version }}</label>
- <separator/>
- <label indent="1">An open-source machine embroidery design platform based on Inkscape.</label>
- <separator/>
- <spacer/>
- <label indent="1" appearance="url">https://inkstitch.org</label>
- </page>
- <page name="license" gui-text="License">
- <param name="license-text" gui-text=" " type="string" appearance="multiline">
-{{ inkstitch_license }}
- </param>
- </page>
- </param>
- <effect needs-live-preview="false" needs-document="false">
+ <param name="extension" type="string" gui-hidden="true">about</param>
+ <effect needs-custom-gui="true" show-stderr="true">
<object-type>all</object-type>
<effects-menu>
- <submenu name="{{ menu_inkstitch }}" translatable="no">
- </submenu>
+ <submenu name="{{ menu_inkstitch }}" translatable="no" />
</effects-menu>
</effect>
+ <script>
+ {{ command_tag | safe }}
+ </script>
</inkscape-extension>
diff --git a/templates/embroider.xml b/templates/embroider.xml
deleted file mode 100644
index 9641cb37..00000000
--- a/templates/embroider.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
- <name>Embroider</name>
- <id>org.{{ id_inkstitch }}.embroider</id>
- <label appearance="header">Create a stitch file</label>
- <label>Save your embroidery file through | File > Save a Copy ... |</label>
- <label>Choose from listed embroidery file formats and save.</label>
- <spacer />
- <label>Multiple file formats can be saved by choosing the zip file format.</label>
- <effect needs-live-preview="false" needs-document="false">
- <object-type>all</object-type>
- <effects-menu>
- <submenu name="{{ menu_inkstitch }}" translatable="no">
- <submenu name="Visualize and Export" />
- </submenu>
- </effects-menu>
- </effect>
-</inkscape-extension>