diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/layer_commands.inx | 4 | ||||
| -rw-r--r-- | templates/object_commands.inx | 7 |
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> |
