Message152695
Those four lines are present just in case self.root is not initialized.
Even if you short-circuit the behavior and set parent=self.top, the patch still works, only that closing the calling EditorWindow instance also closes the help dialog.
I tested the patch against 3.3a0 on Ubuntu and 3.2.2 on Vista and it does attach to root, not self.top.
It sounds like remnants of "_singledialog" are present in EditorWindow.py. Did you back out of the previous patch before applying help_nonmodal_revision.patch? |
|
Date |
User |
Action |
Args |
2012-02-05 16:35:27 | roger.serwy | set | recipients:
+ roger.serwy, terry.reedy, doko, kbk, gpolo, ned.deily, eric.araujo |
2012-02-05 16:35:27 | roger.serwy | set | messageid: <1328459727.44.0.827539116257.issue964437@psf.upfronthosting.co.za> |
2012-02-05 16:35:26 | roger.serwy | link | issue964437 messages |
2012-02-05 16:35:26 | roger.serwy | create | |
|