Browsing books by their covers is disabled.
Import of pictureflow module failed:
')+reason)
class StatusBar(QStatusBar):
def __init__(self, jobs_dialog):
QStatusBar.__init__(self)
self.movie_button = MovieButton(QMovie(':/images/jobs-animated.mng'), jobs_dialog)
+ self.cover_flow_button = CoverFlowButton()
+ self.addPermanentWidget(self.cover_flow_button)
self.addPermanentWidget(self.movie_button)
self.book_info = BookInfoDisplay(self.clearMessage)
self.connect(self.book_info, SIGNAL('show_book_info()'), self.show_book_info)
self.addWidget(self.book_info)
+ self.setMinimumHeight(120)
def reset_info(self):
self.book_info.show_data({})
diff --git a/windows_installer.py b/windows_installer.py
index 7f15e3c897..0835942909 100644
--- a/windows_installer.py
+++ b/windows_installer.py
@@ -539,26 +539,27 @@ class BuildEXE(build_exe):
'''
def build_plugins(self):
cwd = os.getcwd()
+ dd = os.path.join(cwd, self.dist_dir)
try:
os.chdir(os.path.join('src', 'calibre', 'gui2', 'pictureflow'))
- if os.path.exists('release'):
- shutil.rmtree('release')
- if os.path.exists('debug'):
- shutil.rmtree('debug')
- subprocess.check_call(['qmake', 'pictureflow.pro'])
+ if os.path.exists('.build'):
+ shutil.rmtree('.build')
+ os.mkdir('.build')
+ os.chdir('.build')
+ subprocess.check_call(['qmake', '../pictureflow.pro'])
subprocess.check_call(['mingw32-make', '-f', 'Makefile.Release'])
- os.chdir('PyQt')
+ shutil.copyfile('release\\pictureflow0.dll', os.path.join(dd, 'pictureflow0.dll'))
+ os.chdir('..\\PyQt')
if not os.path.exists('.build'):
os.mkdir('.build')
os.chdir('.build')
subprocess.check_call(['python', '..\\configure.py'])
subprocess.check_call(['mingw32-make', '-f', 'Makefile'])
- dd = os.path.join(cwd, self.dist_dir)
shutil.copyfile('pictureflow.pyd', os.path.join(dd, 'pictureflow.pyd'))
- os.chdir('..\\..')
- shutil.copyfile('release\\pictureflow0.dll', os.path.join(dd, 'pictureflow0.dll'))
- shutil.rmtree('Release', True)
- shutil.rmtree('Debug', True)
+ os.chdir('..')
+ shutil.rmtree('.build')
+ os.chdir('..')
+ shutil.rmtree('.build')
finally:
os.chdir(cwd)