I wrote a little PyGTK app: Workcycler
Now I have the problem that I need to hit the quit button twice for it to quit and I don’t know why.
I´ve tested it extensively and it allways calls all quit functions but the program simply doesn’t close after the first time.
It’s a pretty short script so could someone please have a look over it?
I think the problem may come from using python’s timers or a part from the pygame lib (mixer).
These are the important files I think: workcycle.py and tray.py
You are running the
workcycle.ui.tray.WorkcycleTray.startmethod twice (sogtk.mainrun twice )once in the
workcyclerand another inworkcycle.pyline 20, comment that line and everything works fine.