View Single Post
Old 02-09-2011, 09:43 AM   #18
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by dwanthny View Post
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.

Last edited by Starson17; 02-09-2011 at 10:26 AM.
Starson17 is offline   Reply With Quote