mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
b8f70edc65
commit
ae73e16909
@ -79,6 +79,7 @@ class EmbedAction(InterfaceAction):
|
|||||||
|
|
||||||
def do_embed(self, book_ids, only_fmts=None):
|
def do_embed(self, book_ids, only_fmts=None):
|
||||||
pd = QProgressDialog(_('Embedding updated metadata into book files...'), _('&Stop'), 0, len(book_ids), self.gui)
|
pd = QProgressDialog(_('Embedding updated metadata into book files...'), _('&Stop'), 0, len(book_ids), self.gui)
|
||||||
|
pd.setWindowTitle(_('Embedding metadata...'))
|
||||||
pd.setWindowModality(Qt.WindowModal)
|
pd.setWindowModality(Qt.WindowModal)
|
||||||
errors = []
|
errors = []
|
||||||
self.job_data = (0, tuple(book_ids), pd, only_fmts, errors)
|
self.job_data = (0, tuple(book_ids), pd, only_fmts, errors)
|
||||||
|
@ -232,8 +232,8 @@ class Main(MainWindow):
|
|||||||
|
|
||||||
def __init__(self, opts, notify=None):
|
def __init__(self, opts, notify=None):
|
||||||
MainWindow.__init__(self, opts, disable_automatic_gc=True)
|
MainWindow.__init__(self, opts, disable_automatic_gc=True)
|
||||||
self.boss = Boss(self, notify=notify)
|
|
||||||
self.setWindowTitle(self.APP_NAME)
|
self.setWindowTitle(self.APP_NAME)
|
||||||
|
self.boss = Boss(self, notify=notify)
|
||||||
self.setWindowIcon(QIcon(I('tweak.png')))
|
self.setWindowIcon(QIcon(I('tweak.png')))
|
||||||
self.opts = opts
|
self.opts = opts
|
||||||
self.path_to_ebook = None
|
self.path_to_ebook = None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user