mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
d50f4e1b1d
commit
6aff74dac1
@ -300,6 +300,10 @@ class PolishAction(InterfaceAction):
|
|||||||
Dispatcher(self.book_polished), 'gui_polish', args=(data,),
|
Dispatcher(self.book_polished), 'gui_polish', args=(data,),
|
||||||
description=desc)
|
description=desc)
|
||||||
job.polish_args = (book_id, base, data['files'])
|
job.polish_args = (book_id, base, data['files'])
|
||||||
|
if d.jobs:
|
||||||
|
self.gui.jobs_pointer.start()
|
||||||
|
self.gui.status_bar.show_message(
|
||||||
|
_('Starting polishing of %d book(s)') % len(d.jobs), 2000)
|
||||||
|
|
||||||
def book_polished(self, job):
|
def book_polished(self, job):
|
||||||
if job.failed:
|
if job.failed:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user