Quote:
Originally Posted by dwanthny
This is good info but I have few questions.
|
I can answer some of this ... for Windows.
Quote:
Do you need to be running from source to do this?
|
No, but you don't have the .py file. You have the .pyo file (it's a compiled version of the .py file). You'd need to get the source file widgets.py, modify it and put it next to the pyo file. It will be used in preference. (Perhaps "No" isn't perfectly accurate

)
Quote:
Where is the widgets.py file? I don't have one on my Windows XP machine in the install directory or its sub-directories.
|
Search for widgets.pyo. I have it in my non-source install. The source is on the source website
http://bazaar.launchpad.net/~kovid/c...ui2/widgets.py
The line in question is line number 938.
Quote:
If I were to find this file and I'm not running from source, would this change survive an upgrade?
|
I believe the answer is yes, although if that file were changed by an upgrade, I don't think the change would propagate through.