view inkscape/MB_EditButton.inx @ 1338:d0e6f350b3fd

Clear change log to prevent from undo/redo. - commit the transaction after changing DOM-tree. - prevent SPObject document from adding changes into the log of undo/redo. - If a changes is not in the log of undo/redo, it would not be redo.
author Thinker K.F. Li <thinker@codemud.net>
date Sat, 05 Feb 2011 18:08:57 +0800
parents 1958bb2a87a2
children
line wrap: on
line source

<inkscape-extension>
    <name>Edit Button</name>
    <id>MadButterfly.EditButton</id>
	<dependency type="executable" location="extensions">MB_EditButton.py</dependency>
	<dependency type="executable" location="extensions">inkex.py</dependency>
    <effect>
		<object-type>any</object-type>
		<effects-menu>
			<submenu _name="MadButterfly">
				<submenu _name="Button"/>
			</submenu>
		</effects-menu>
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">MB_EditButton.py</command>
    </script>
</inkscape-extension>