Fix #2566 (Support tpz and azw1 files?)

This commit is contained in:
Kovid Goyal 2009-06-11 14:04:53 -07:00
parent 640f059912
commit 80a7d5ad5f
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ class DRMError(ValueError):
BOOK_EXTENSIONS = ['lrf', 'rar', 'zip', 'rtf', 'lit', 'txt', 'htm', 'xhtm',
'html', 'xhtml', 'pdf', 'pdb', 'prc', 'mobi', 'azw', 'doc',
'epub', 'fb2', 'djvu', 'lrx', 'cbr', 'cbz', 'oebzip',
'rb', 'imp', 'odt', 'chm']
'rb', 'imp', 'odt', 'chm', 'tpz', 'azw1']
class HTMLRenderer(object):

View File

@ -385,7 +385,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
self.action_view, self.action_save, None, None)
QObject.connect(self.library_view,
SIGNAL('files_dropped(PyQt_PyObject)'),
self.files_dropped)
self.files_dropped, Qt.QueuedConnection)
for func, target in [
('connect_to_search_box', self.search),
('connect_to_book_display',