Cleaner fix

This commit is contained in:
Tim Bentley 2010-02-09 11:20:19 +00:00
parent fc9b8fcdad
commit be4c40b401

View File

@ -67,9 +67,8 @@ class PresentationMediaItem(MediaManagerItem):
for controller in self.controllers: for controller in self.controllers:
if self.controllers[controller].enabled: if self.controllers[controller].enabled:
for type in self.controllers[controller].supports: for type in self.controllers[controller].supports:
type = u'*%s' % type
if fileType.find(type) == -1: if fileType.find(type) == -1:
fileType += type + u' ' fileType += u'*%s ' % type
self.OnNewFileMasks = self.trUtf8('Presentations (%s)' % fileType) self.OnNewFileMasks = self.trUtf8('Presentations (%s)' % fileType)
def requiredIcons(self): def requiredIcons(self):