summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-23 20:53:30 -0400
committerLex Neva <github.com@lexneva.name>2018-08-23 21:05:47 -0400
commitd2f16f0666e4e294b5050a5e70449da8c23b9ea2 (patch)
treef3ca2aacb9d05351fecd12be59508b7a0dbac5f2 /templates
parent082e1664bb1dc6edfcae7aef65021109d6da28da (diff)
fix layer and object commands templates
Diffstat (limited to 'templates')
-rw-r--r--templates/layer_commands.inx4
-rw-r--r--templates/object_commands.inx7
2 files changed, 6 insertions, 5 deletions
diff --git a/templates/layer_commands.inx b/templates/layer_commands.inx
index 17eb3d83..a6c0283c 100644
--- a/templates/layer_commands.inx
+++ b/templates/layer_commands.inx
@@ -11,11 +11,11 @@
<param name="extension" type="string" gui-hidden="true">layer_commands</param>
<effect>
<object-type>all</object-type>
- <submenu name="Ink/Stitch">
+ <effects-menu>
<submenu name="Ink/Stitch">
<submenu name="{% trans %}English{% endtrans %}" />
</submenu>
- </submenu>
+ </effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">inkstitch.py</command>
diff --git a/templates/object_commands.inx b/templates/object_commands.inx
index 5807dc47..6de2a3fc 100644
--- a/templates/object_commands.inx
+++ b/templates/object_commands.inx
@@ -5,15 +5,16 @@
<dependency type="executable" location="extensions">inkstitch.py</dependency>
<dependency type="executable" location="extensions">inkex.py</dependency>
{% for command, description in object_commands %}
- <param name="{{ object }}" type="boolean" _gui-text="{{ _(description ) }}">false</param>
+ <param name="{{ command }}" type="boolean" _gui-text="{{ _(description ) }}">false</param>
{% endfor %}
+ <param name="extension" type="string" gui-hidden="true">object_commands</param>
<effect>
<object-type>all</object-type>
- <submenu name="Ink/Stitch">
+ <effects-menu>
<submenu name="Ink/Stitch">
<submenu name="{% trans %}English{% endtrans %}" />
</submenu>
- </submenu>
+ </effects-menu>
</effect>
<script>
<command reldir="extensions" interpreter="python">inkstitch.py</command>