diff options
| author | Lex Neva <github.com@lexneva.name> | 2018-08-23 20:53:30 -0400 |
|---|---|---|
| committer | Lex Neva <github.com@lexneva.name> | 2018-08-23 21:05:47 -0400 |
| commit | d2f16f0666e4e294b5050a5e70449da8c23b9ea2 (patch) | |
| tree | f3ca2aacb9d05351fecd12be59508b7a0dbac5f2 /templates | |
| parent | 082e1664bb1dc6edfcae7aef65021109d6da28da (diff) | |
fix layer and object commands templates
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> |
