This commit is contained in:
Kovid Goyal 2011-06-12 17:05:55 -06:00
parent 0d5c964ea7
commit 6796453042
2 changed files with 2 additions and 3 deletions

View File

@ -348,7 +348,6 @@ class MobiReader(object):
self.processed_html = self.remove_random_bytes(self.processed_html) self.processed_html = self.remove_random_bytes(self.processed_html)
root = soupparser.fromstring(self.processed_html) root = soupparser.fromstring(self.processed_html)
if root.tag != 'html': if root.tag != 'html':
self.log.warn('File does not have opening <html> tag') self.log.warn('File does not have opening <html> tag')
nroot = html.fromstring('<html><head></head><body></body></html>') nroot = html.fromstring('<html><head></head><body></body></html>')

View File

@ -462,11 +462,11 @@ class EditRules(QWidget): # {{{
self.l = l = QGridLayout(self) self.l = l = QGridLayout(self)
self.setLayout(l) self.setLayout(l)
self.l1 = l1 = QLabel(_( self.l1 = l1 = QLabel('<p>'+_(
'You can control the color of columns in the' 'You can control the color of columns in the'
' book list by creating "rules" that tell calibre' ' book list by creating "rules" that tell calibre'
' what color to use. Click the Add Rule button below' ' what color to use. Click the Add Rule button below'
' to get started. You can change an existing rule by double' ' to get started.<p>You can <b>change an existing rule</b> by double'
' clicking it.')) ' clicking it.'))
l1.setWordWrap(True) l1.setWordWrap(True)
l.addWidget(l1, 0, 0, 1, 2) l.addWidget(l1, 0, 0, 1, 2)