Amalgamated OpenLP theme filters into one and removed "All Files" filter to limit the effects of user ignorance.

bzr-revno: 1304
This commit is contained in:
Raoul Snyman 2011-02-15 21:20:32 +02:00
commit 893a1a6859
1 changed files with 2 additions and 2 deletions

View File

@ -405,8 +405,8 @@ class ThemeManager(QtGui.QWidget):
files = QtGui.QFileDialog.getOpenFileNames(self,
translate('OpenLP.ThemeManager', 'Select Theme Import File'),
SettingsManager.get_last_dir(self.settingsSection),
unicode(translate('OpenLP.ThemeManager', 'Theme v1 (*.theme);;'
'Theme v2 (*.otz);;%s (*.*)')) % UiStrings.AllFiles)
unicode(translate('OpenLP.ThemeManager',
'OpenLP Themes (*.theme *.otz)')))
log.info(u'New Themes %s', unicode(files))
if files:
for file in files: