mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
More misc. fixes
This commit is contained in:
parent
654dfbdf2c
commit
029fd0b3ac
@ -93,6 +93,8 @@ def freeze():
|
|||||||
'dateutil', 'dns', 'email']
|
'dateutil', 'dns', 'email']
|
||||||
|
|
||||||
includes += ['calibre.web.feeds.recipes.'+r for r in recipe_modules]
|
includes += ['calibre.web.feeds.recipes.'+r for r in recipe_modules]
|
||||||
|
includes += [x.split('/')[-1].rpartition('.')[0] for x in \
|
||||||
|
glob.glob('src/calibre/gui2/convert/*.py')]
|
||||||
|
|
||||||
LOADER = '/tmp/loader.py'
|
LOADER = '/tmp/loader.py'
|
||||||
open(LOADER, 'wb').write('# This script is never actually used.\nimport sys')
|
open(LOADER, 'wb').write('# This script is never actually used.\nimport sys')
|
||||||
|
@ -347,7 +347,7 @@ def main():
|
|||||||
'PyQt4.QtSvg', 'PyQt4.QtWebKit', 'commands',
|
'PyQt4.QtSvg', 'PyQt4.QtWebKit', 'commands',
|
||||||
'mechanize', 'ClientForm', 'usbobserver',
|
'mechanize', 'ClientForm', 'usbobserver',
|
||||||
'genshi', 'calibre.web.feeds.recipes.*',
|
'genshi', 'calibre.web.feeds.recipes.*',
|
||||||
'calibre.ebooks.lrf.any.*', 'calibre.ebooks.lrf.feeds.*',
|
'calibre.gui2.convert.*',
|
||||||
'keyword', 'codeop', 'pydoc', 'readline',
|
'keyword', 'codeop', 'pydoc', 'readline',
|
||||||
'BeautifulSoup', 'calibre.ebooks.lrf.fonts.prs500.*',
|
'BeautifulSoup', 'calibre.ebooks.lrf.fonts.prs500.*',
|
||||||
'dateutil', 'email.iterators',
|
'dateutil', 'email.iterators',
|
||||||
|
@ -175,6 +175,7 @@ def main(args=sys.argv):
|
|||||||
'BeautifulSoup', 'pyreadline',
|
'BeautifulSoup', 'pyreadline',
|
||||||
'pydoc', 'IPython.Extensions.*',
|
'pydoc', 'IPython.Extensions.*',
|
||||||
'calibre.web.feeds.recipes.*',
|
'calibre.web.feeds.recipes.*',
|
||||||
|
'calibre.gui2.convert.*',
|
||||||
'calibre.ebooks.lrf.fonts.prs500.*',
|
'calibre.ebooks.lrf.fonts.prs500.*',
|
||||||
'PyQt4.QtWebKit', 'PyQt4.QtNetwork',
|
'PyQt4.QtWebKit', 'PyQt4.QtNetwork',
|
||||||
],
|
],
|
||||||
|
@ -642,7 +642,7 @@ class MobiWriter(object):
|
|||||||
|
|
||||||
first = True
|
first = True
|
||||||
for child in toc.iter():
|
for child in toc.iter():
|
||||||
add_node(child, 'chapter', title='Title Page' if first else None)
|
add_node(child, 'chapter')#, title='Title Page' if first else None)
|
||||||
first = False
|
first = False
|
||||||
|
|
||||||
return align_block(ctoc.getvalue())
|
return align_block(ctoc.getvalue())
|
||||||
|
@ -49,6 +49,12 @@ class PageSetupWidget(Widget, Ui_Form):
|
|||||||
x.setMouseTracking(True)
|
x.setMouseTracking(True)
|
||||||
self.connect(x, SIGNAL('entered(QModelIndex)'), self.show_desc)
|
self.connect(x, SIGNAL('entered(QModelIndex)'), self.show_desc)
|
||||||
self.initialize_options(get_option, get_help, db, book_id)
|
self.initialize_options(get_option, get_help, db, book_id)
|
||||||
|
it = unicode(self.opt_input_profile.toolTip())
|
||||||
|
self.opt_input_profile.setToolTip('<p>'+it.replace('t.','t.\n<br>'))
|
||||||
|
it = unicode(self.opt_output_profile.toolTip())
|
||||||
|
self.opt_output_profile.setToolTip('<p>'+it.replace('t.','ce.\n<br>'))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def show_desc(self, index):
|
def show_desc(self, index):
|
||||||
desc = index.model().data(index, Qt.StatusTipRole).toString()
|
desc = index.model().data(index, Qt.StatusTipRole).toString()
|
||||||
|
@ -9,8 +9,8 @@
|
|||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
width="250"
|
width="150"
|
||||||
height="525"
|
height="350"
|
||||||
id="svg2347"
|
id="svg2347"
|
||||||
sodipodi:version="0.32"
|
sodipodi:version="0.32"
|
||||||
inkscape:version="0.46"
|
inkscape:version="0.46"
|
||||||
@ -1149,7 +1149,7 @@
|
|||||||
<g
|
<g
|
||||||
inkscape:label="Layer 1"
|
inkscape:label="Layer 1"
|
||||||
id="g3155"
|
id="g3155"
|
||||||
transform="matrix(1.9160726,0,0,4.0935085,4.833863,-12.457556)">
|
transform="matrix(1.2103698,0,0,2.7823904,-2.5000367,-12.695448)">
|
||||||
<path
|
<path
|
||||||
sodipodi:nodetypes="ccssssssscsssssssc"
|
sodipodi:nodetypes="ccssssssscsssssssc"
|
||||||
id="path1931"
|
id="path1931"
|
||||||
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
Loading…
x
Reference in New Issue
Block a user