What steps will reproduce the problem?
1. Create a menu bar via gui.Menus
What is the expected output?
Nothing written to stdout.
What do you see instead?
Current it prints a tuple of each menu item, like:
('add', 'Load campaign', <function theme_open at [...]>, None)
('add', 'Load level', <function theme_open at [...]>, None)
('add', 'Quit', <bound method Application.quit of [...]>, None)
('add', 'Tutorial', <bound method Application.open_tutorial of [...]>, None)
What version of the product are you using? On what operating system?
pgu-0.18 on Debian GNU/Linux Wheezy.
Patches:
I have provided two patches for handling this. I suggest either guarding the
print statement somehow (my patch uses the "PGU_DEBUG" env variable) or simply
removing the print statement.
Original issue reported on code.google.com by NThykier@gmail.com on 7 Dec 2012 at 10:27
Original issue reported on code.google.com by
NThykier@gmail.com
on 7 Dec 2012 at 10:27Attachments: