Mercurial > MadButterfly
view inkscape/MB_assignSymbol.inx @ 271:c990a9a9648f
Fix bug of calculator.
- calc can not handle button press event.
- It caused by miss-understanding event_t::cur_tgt.
It is a subject, not a shape that calc think.
- event_t::cur_tgt::obj is a shape that calc want.
It is a the subject that the subject stands for.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 25 Jan 2009 23:03:18 +0800 |
parents | 1d485bf96480 |
children |
line wrap: on
line source
<inkscape-extension> <name>Convert to Symbol</name> <id>MadButterfly.ConvertSymbol</id> <dependency type="executable" location="extensions">AssignSymbol.py</dependency> <dependency type="executable" location="extensions">inkex.py</dependency> <effect> <object-type>group</object-type> <effects-menu> <submenu _name="MadButterfly"/> </effects-menu> </effect> <script> <command reldir="extensions" interpreter="python">AssignSymbol.py</command> </script> </inkscape-extension>