summaryrefslogtreecommitdiff
path: root/templates/layer_commands.xml
blob: 81aeac95b28a4a3775429550209ef832f541053d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension translationdomain="inkstitch" xmlns="http://www.inkscape.org/namespace/inkscape/extension">
    <name>Add Layer Commands</name>
    <id>org.{{ id_inkstitch }}.layer_commands</id>
    <label>Commands will be added to the currently-selected layer.</label>
    {% for command, description in layer_commands %}
    <param name="{{ command }}" type="boolean" gui-text="{{ description }}">false</param>
    {% endfor %}
    <param name="extension" type="string" gui-hidden="true">layer_commands</param>
    <effect>
        <object-type>all</object-type>
        <effects-menu>
            <submenu name="{{ menu_inkstitch }}" translatable="no">
                <submenu name="Commands" />
            </submenu>
        </effects-menu>
    </effect>
    <script>
        {{ command_tag | safe }}
    </script>
</inkscape-extension>