Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-08-2011, 09:53 PM   #16
OverTwo
Enthusiast
OverTwo ought to be getting tired of karma fortunes by now.OverTwo ought to be getting tired of karma fortunes by now.OverTwo ought to be getting tired of karma fortunes by now.OverTwo ought to be getting tired of karma fortunes by now.OverTwo ought to be getting tired of karma fortunes by now.OverTwo ought to be getting tired of karma fortunes by now.OverTwo ought to be getting tired of karma fortunes by now.OverTwo ought to be getting tired of karma fortunes by now.OverTwo ought to be getting tired of karma fortunes by now.OverTwo ought to be getting tired of karma fortunes by now.OverTwo ought to be getting tired of karma fortunes by now.
 
OverTwo's Avatar
 
Posts: 40
Karma: 494132
Join Date: Feb 2011
Device: Kindle
Quote:
Originally Posted by Valentino View Post
I don't see what you're talking about, I posted which file to change (widgets.py), and what line to change. I'm not sure what more anyone would need.
What do i open it with?

I've tried opening it with the Python IDLE (It's just 2 characters) and Python command line (It's in a dos box and closes in as soon as i try to open it)?
OverTwo is offline   Reply With Quote
Old 02-08-2011, 11:48 PM   #17
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Valentino View Post
You can get rid of it, just find the widgets.py file in your install and change this line.

painter.fillRect(self.rect(), Qt.yellow)

to

painter.fillRect(self.rect(), Qt.transparent)
This is good info but I have few questions.
  • Do you need to be running from source to do this?
  • Where is the widgets.py file? I don't have one on my Windows XP machine in the install directory or its sub-directories.
  • If I were to find this file and I'm not running from source, would this change survive an upgrade?
  • Is it possible for you to implement this as a tweak?
DoctorOhh is offline   Reply With Quote
Advert
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
Old 02-09-2011, 10:05 AM   #19
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by dwanthny View Post
Is it possible for you to implement this as a tweak?
This would be a good thing to have, I think.
Manichean is offline   Reply With Quote
Old 02-09-2011, 11:27 AM   #20
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,400
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Manichean View Post
This would be a good thing to have, I think.
Done.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-09-2011, 01:37 PM   #21
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by kovidgoyal View Post
Done.
Cool
Manichean is offline   Reply With Quote
Old 02-12-2011, 11:21 AM   #22
chyron8472
Groupie
chyron8472 ought to be getting tired of karma fortunes by now.chyron8472 ought to be getting tired of karma fortunes by now.chyron8472 ought to be getting tired of karma fortunes by now.chyron8472 ought to be getting tired of karma fortunes by now.chyron8472 ought to be getting tired of karma fortunes by now.chyron8472 ought to be getting tired of karma fortunes by now.chyron8472 ought to be getting tired of karma fortunes by now.chyron8472 ought to be getting tired of karma fortunes by now.chyron8472 ought to be getting tired of karma fortunes by now.chyron8472 ought to be getting tired of karma fortunes by now.chyron8472 ought to be getting tired of karma fortunes by now.
 
chyron8472's Avatar
 
Posts: 180
Karma: 558490
Join Date: Jan 2011
Device: Kindle 5, Amazon Fire 5th Gen, Moto Z Play Droid
Quote:
Originally Posted by kovidgoyal View Post
Done.
I appreciate this. I really do.
chyron8472 is offline   Reply With Quote
Old 02-12-2011, 02:42 PM   #23
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
The tweak is implemented in the newest version 0.7.45
Now, I am finally running Calibre without those jarring bright yellow marks. [:happy smile:]
kacir is offline   Reply With Quote
Old 02-13-2011, 10:37 AM   #24
Rie142
Member
Rie142 began at the beginning.
 
Posts: 17
Karma: 24
Join Date: Dec 2009
Location: Just outside of Seattle, WA
Device: Kindle2
Quote:
Originally Posted by Lady Fitzgerald View Post
What's obvious to you is not obvious to everyone. Where is widgets.py? How does one change it? I'm serious; I wouldn't have a clue and I'm sure I'm not the only one.
I don't have a clue either. I probably could find it but I am always afraid of messing other things up.
Rie142 is offline   Reply With Quote
Old 02-13-2011, 11:13 AM   #25
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Ah, you don't need that file anymore. Just open up Calibre, go to the preferences, and in the tweaks section, locate the tweak that says "Remove bright yellow lines at the edges of the book list". If you've selected it, in the lower right hand edit field, set the value to "False" (without the quotes). Save and restart.
Manichean is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I want advice on how to get rid of paper book collection? Gwen Morse General Discussions 30 02-04-2011 12:25 AM
Free Book (Kindle) - Bright of the Sky [SciFi] ---- [GEO RESTRICTED] koland Deals and Resources (No Self-Promotion or Affiliate Links) 5 07-23-2010 02:27 PM
Fantasy Lang, Andrew: The Yellow Fairy Book. IMP. 27 Sept 07 RWood IMP Books 0 09-27-2007 09:37 PM
Fantasy Lang, Andrew: The Yellow Fairy Book. 27 Sept 07 RWood BBeB/LRF Books 0 09-27-2007 09:35 PM
Fantasy Lang, Andrew: The Yellow Fairy Book. 27 Sept 07 RWood Kindle Books 0 09-27-2007 09:34 PM


All times are GMT -4. The time now is 11:58 AM.


MobileRead.com is a privately owned, operated and funded community.