Fix Cancel bug on BibleImport screen

Fix odi error on PresentationDialog

bzr-revno: 454
This commit is contained in:
Tim Bentley 2009-06-04 17:17:26 +01:00
parent 3561ede5b0
commit 05027b114c
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ class EventReceiver(QtCore.QObject):
QtCore.QObject.__init__(self)
def send_message(self, event, msg=None):
self.emit(SIGNAL(event), msg)
self.emit(QtCore.SIGNAL(event), msg)
def received(self, msg=None):
print msg

View File

@ -119,7 +119,7 @@ class PresentationMediaItem(MediaManagerItem):
def onPresentationNewClick(self):
files = QtGui.QFileDialog.getOpenFileNames(None,
translate('PresentationsMediaItem', u'Select presentations(s)'),
self.parent.config.get_last_dir(), u'Presentations (*.ppt *.pps *.odi)')
self.parent.config.get_last_dir(), u'Presentations (*.ppt *.pps *.odp)')
if len(files) > 0:
self.loadPresentationList(files)
dir, filename = os.path.split(str(files[0]))