Message73099
The patch attached is probably the most direct way to fix it, but, can
someone remind why we just don't call deletecommand (if there is a
command to delete) and let it try to remove the command from _tclCommand
then ? (note that this is not really the case for this bug report).
I'm attaching a patch that is a bit "different". It relies on the fact
that if the menu entry was created with add_command but no command was
specified, then there is no command to specify. And if a command was
specified then _tclCommands would be a list and deletecommand would work
properly. |
|
Date |
User |
Action |
Args |
2008-09-12 15:58:10 | gpolo | set | recipients:
+ gpolo, loewis, svenil, ocean-city, benjamin.peterson, schuppenies, skomoroh, indiedan |
2008-09-12 15:58:10 | gpolo | set | messageid: <1221235090.17.0.269954195507.issue3774@psf.upfronthosting.co.za> |
2008-09-12 15:58:09 | gpolo | link | issue3774 messages |
2008-09-12 15:58:09 | gpolo | create | |
|