View Single Post
Old 06-06-2009, 05:12 PM   #14
WayneD
Enthusiast
WayneD began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Sep 2007
Device: Android phone + PRS-505
Quote:
Originally Posted by bedachtm View Post
The comments in the main_ui.py script say that any changes will be lost.
I have instead edited the src/calibre/gui2/viewer/main.ui file that is used to generate the main_ui.py file. If you remove this bit:

Code:
          <property name="url" >
           <url>
            <string>about:blank</string>
           </url>
          </property>
That will cause the setUrl() line to be omitted on the next build, and will remain omitted even when updating the source.
WayneD is offline   Reply With Quote