From d46c6ca1de4a9ec45f22127cabaf6dbe32c2cb5d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 4 Dec 2008 17:03:05 -0800 Subject: [PATCH] Fix #1347 (Edit metadata in bulk does nothing) --- src/calibre/gui2/main.py | 2 +- upload.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/main.py b/src/calibre/gui2/main.py index f2fb35b681..0386e7875c 100644 --- a/src/calibre/gui2/main.py +++ b/src/calibre/gui2/main.py @@ -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)) diff --git a/upload.py b/upload.py index cfec4876f3..7058d5873b 100644 --- a/upload.py +++ b/upload.py @@ -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/*''')