mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Merge from trunk
This commit is contained in:
parent
084b0cff49
commit
bc2abb333b
@ -217,7 +217,6 @@ class ChooseLibraryAction(InterfaceAction):
|
||||
def backup_status(self, location):
|
||||
dirty_text = 'no'
|
||||
try:
|
||||
print 'here'
|
||||
dirty_text = \
|
||||
unicode(self.gui.library_view.model().db.dirty_queue_length())
|
||||
except:
|
||||
|
@ -658,12 +658,6 @@ class MetadataBulkDialog(QDialog, Ui_MetadataBulkDialog):
|
||||
do_remove_conv, do_auto_author, series, do_series_restart,
|
||||
series_start_value, do_title_case, clear_series)
|
||||
|
||||
# bb = BlockingBusy(_('Applying changes to %d books. This may take a while.')
|
||||
# %len(self.ids), parent=self)
|
||||
# self.worker = Worker(args, self.db, self.ids,
|
||||
# getattr(self, 'custom_column_widgets', []),
|
||||
# Dispatcher(bb.accept, parent=bb))
|
||||
|
||||
bb = MyBlockingBusy(_('Applying changes to %d books.\nPhase {0} {1}%%.')
|
||||
%len(self.ids), args, self.db, self.ids,
|
||||
getattr(self, 'custom_column_widgets', []),
|
||||
@ -673,7 +667,6 @@ class MetadataBulkDialog(QDialog, Ui_MetadataBulkDialog):
|
||||
# which can slow down bulk editing of large numbers of books
|
||||
self.model.stop_metadata_backup()
|
||||
try:
|
||||
# self.worker.start()
|
||||
bb.exec_()
|
||||
finally:
|
||||
self.model.start_metadata_backup()
|
||||
|
Loading…
x
Reference in New Issue
Block a user