From e1d2695bc9d25116c58c62c2da038e6bd1866f3c Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Thu, 4 Nov 2010 17:03:52 +0000 Subject: [PATCH] Cast adrift amendthemeform --- openlp/core/ui/__init__.py | 2 +- openlp/core/ui/themeform.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/openlp/core/ui/__init__.py b/openlp/core/ui/__init__.py index 570c0aeda..377999553 100644 --- a/openlp/core/ui/__init__.py +++ b/openlp/core/ui/__init__.py @@ -58,4 +58,4 @@ from thememanager import ThemeManager __all__ = ['SplashScreen', 'AboutForm', 'SettingsForm', 'MainDisplay', 'SlideController', 'ServiceManager', 'ThemeManager', - 'AmendThemeForm', 'MediaDockManager', 'ServiceItemEditForm'] + 'MediaDockManager', 'ServiceItemEditForm'] diff --git a/openlp/core/ui/themeform.py b/openlp/core/ui/themeform.py index b8392b37b..c5ea42519 100644 --- a/openlp/core/ui/themeform.py +++ b/openlp/core/ui/themeform.py @@ -185,7 +185,7 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeDialog): self.color1PushButton.setStyleSheet(u'background-color: %s' % self.theme.background_color) self.color1Label.setText( - translate('OpenLP.AmendThemeForm', 'Color:')) + translate('OpenLP.ThemeForm', 'Color:')) self.color2PushButton.setVisible(False) self.color2Label.setVisible(False) self.gradientLabel.setVisible(False) @@ -202,13 +202,13 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeDialog): self.color1PushButton.setStyleSheet(u'background-color: %s' % self.theme.background_start_color) self.color1Label.setText( - translate('OpenLP.AmendThemeForm', 'First color:')) + translate('OpenLP.ThemeForm', 'First color:')) self.color2PushButton.setVisible(True) self.color2Label.setVisible(True) self.color2PushButton.setStyleSheet(u'background-color: %s' % self.theme.background_end_color) self.color2Label.setText( - translate('OpenLP.AmendThemeForm', 'Second color:')) + translate('OpenLP.ThemeForm', 'Second color:')) self.gradientLabel.setVisible(True) self.gradientComboBox.setVisible(True) self.imageLabel.setVisible(False) @@ -443,9 +443,9 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeDialog): def onImageBrowseButtonClicked(self): images_filter = get_images_filter() images_filter = '%s;;%s (*.*) (*)' % (images_filter, - translate('OpenLP.AmendThemeForm', 'All Files')) + translate('OpenLP.ThemeForm', 'All Files')) filename = QtGui.QFileDialog.getOpenFileName(self, - translate('OpenLP.AmendThemeForm', 'Select Image'), u'', + translate('OpenLP.ThemeForm', 'Select Image'), u'', images_filter) if filename: self.theme.background_filename = filename