Fix #1347 (Edit metadata in bulk does nothing)

This commit is contained in:
Kovid Goyal 2008-12-04 17:03:05 -08:00
parent 8140772f95
commit d46c6ca1de
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ class Main(MainWindow, Ui_MainWindow):
QObject.connect(self.action_del, SIGNAL("triggered(bool)"), self.delete_books)
QObject.connect(self.action_edit, SIGNAL("triggered(bool)"), self.edit_metadata)
QObject.connect(md.actions()[0], SIGNAL('triggered(bool)'), partial(self.edit_metadata, bulk=False))
QObject.connect(md.actions()[1], SIGNAL('triggered(bool)'), self.edit_bulk_metadata)
QObject.connect(md.actions()[2], SIGNAL('triggered(bool)'), partial(self.edit_metadata, bulk=True))
QObject.connect(sm.actions()[0], SIGNAL('triggered(bool)'), self.sync_to_main_memory)
QObject.connect(sm.actions()[1], SIGNAL('triggered(bool)'), self.sync_to_card)
QObject.connect(sm.actions()[2], SIGNAL('triggered(bool)'), partial(self.sync_to_main_memory, delete_from_library=True))

View File

@ -235,8 +235,8 @@ def stage_three():
print 'Uploading to PyPI...'
check_call('rm -f dist/*')
check_call('python setup.py register')
check_call('python setup.py bdist_egg --exclude-source-files upload')
check_call('python2.5 setup.py bdist_egg --exclude-source-files upload')
check_call('python setup.py bdist_egg --exclude-source-files upload')
check_call('python setup.py sdist upload')
upload_src_tarball()
check_call('''rm -rf dist/* build/*''')