forked from openlp/openlp
replaced other file masks
This commit is contained in:
parent
8df2a6af32
commit
e2c81aaf00
@ -662,7 +662,7 @@ class AdvancedTab(SettingsTab):
|
|||||||
u'background-color: %s' % self.defaultColor)
|
u'background-color: %s' % self.defaultColor)
|
||||||
|
|
||||||
def onDefaultBrowseButtonClicked(self):
|
def onDefaultBrowseButtonClicked(self):
|
||||||
file_filters = u'%s;;%s (*.*) (*)' % (get_images_filter(),
|
file_filters = u'%s;;%s (*.*)' % (get_images_filter(),
|
||||||
UiStrings().AllFiles)
|
UiStrings().AllFiles)
|
||||||
filename = QtGui.QFileDialog.getOpenFileName(self,
|
filename = QtGui.QFileDialog.getOpenFileName(self,
|
||||||
translate('OpenLP.AdvancedTab', 'Open File'), '',
|
translate('OpenLP.AdvancedTab', 'Open File'), '',
|
||||||
|
@ -536,7 +536,7 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard):
|
|||||||
Background Image button pushed.
|
Background Image button pushed.
|
||||||
"""
|
"""
|
||||||
images_filter = get_images_filter()
|
images_filter = get_images_filter()
|
||||||
images_filter = u'%s;;%s (*.*) (*)' % (
|
images_filter = u'%s;;%s (*.*)' % (
|
||||||
images_filter, UiStrings().AllFiles)
|
images_filter, UiStrings().AllFiles)
|
||||||
filename = QtGui.QFileDialog.getOpenFileName(self,
|
filename = QtGui.QFileDialog.getOpenFileName(self,
|
||||||
translate('OpenLP.ThemeWizard', 'Select Image'), u'',
|
translate('OpenLP.ThemeWizard', 'Select Image'), u'',
|
||||||
|
@ -62,7 +62,7 @@ class ImageMediaItem(MediaManagerItem):
|
|||||||
self.onNewPrompt = translate('ImagePlugin.MediaItem',
|
self.onNewPrompt = translate('ImagePlugin.MediaItem',
|
||||||
'Select Image(s)')
|
'Select Image(s)')
|
||||||
file_formats = get_images_filter()
|
file_formats = get_images_filter()
|
||||||
self.onNewFileMasks = u'%s;;%s (*.*) (*)' % (file_formats,
|
self.onNewFileMasks = u'%s;;%s (*.*)' % (file_formats,
|
||||||
UiStrings().AllFiles)
|
UiStrings().AllFiles)
|
||||||
self.replaceAction.setText(UiStrings().ReplaceBG)
|
self.replaceAction.setText(UiStrings().ReplaceBG)
|
||||||
self.replaceAction.setToolTip(UiStrings().ReplaceLiveBG)
|
self.replaceAction.setToolTip(UiStrings().ReplaceLiveBG)
|
||||||
|
Loading…
Reference in New Issue
Block a user