Removed need for signal to run appStartup

This commit is contained in:
Stevan Pettit 2011-08-29 08:47:32 -04:00
parent d4e6c44d21
commit 7e48256534
2 changed files with 1 additions and 3 deletions

View File

@ -63,8 +63,6 @@ class BiblePlugin(Plugin):
self.exportBibleItem.setVisible(False) self.exportBibleItem.setVisible(False)
if len(self.manager.old_bible_databases): if len(self.manager.old_bible_databases):
self.toolsUpgradeItem.setVisible(True) self.toolsUpgradeItem.setVisible(True)
QtCore.QObject.connect(Receiver.get_receiver(),
QtCore.SIGNAL(u'bibles_app_startup'), self.appStartup)
def finalise(self): def finalise(self):
""" """

View File

@ -397,7 +397,7 @@ class BibleMediaItem(MediaManagerItem):
self.loadBibles() self.loadBibles()
# If called from first time wizard re-run, process any new bibles. # If called from first time wizard re-run, process any new bibles.
if process: if process:
Receiver.send_message(u'bibles_app_startup') self.plugin.appStartup()
self.updateAutoCompleter() self.updateAutoCompleter()
def initialiseAdvancedBible(self, bible): def initialiseAdvancedBible(self, bible):