forked from openlp/openlp
Fix Theme Bug text color.
Fix serious spelling error. bzr-revno: 1133 Fixes: https://launchpad.net/bugs/686122
This commit is contained in:
commit
1b3db9f429
|
@ -324,7 +324,7 @@ class ThemeXML(object):
|
|||
# Create Font name element
|
||||
self.child_element(background, u'name', name)
|
||||
# Create Font color element
|
||||
self.child_element(background, u'color', color)
|
||||
self.child_element(background, u'color', unicode(color))
|
||||
# Create Proportion name element
|
||||
self.child_element(background, u'size', unicode(size))
|
||||
# Create weight name element
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
# with this program; if not, write to the Free Software Foundation, Inc., 59 #
|
||||
# Temple Place, Suite 330, Boston, MA 02111-1307 USA #
|
||||
###############################################################################
|
||||
|
||||
"""
|
||||
"""
|
||||
import logging
|
||||
import os
|
||||
|
||||
|
|
|
@ -502,12 +502,6 @@ class ThemeForm(QtGui.QWizard, Ui_ThemeWizard):
|
|||
self.theme.background_filename = unicode(filename)
|
||||
self.setBackgroundTabValues()
|
||||
|
||||
# def onMainFontComboBox(self):
|
||||
# """
|
||||
# Main Font Combo box changed
|
||||
# """
|
||||
# self.theme.font_main_name = self.mainFontComboBox.currentFont().family()
|
||||
|
||||
def onMainColourPushButtonClicked(self):
|
||||
self.theme.font_main_color = \
|
||||
self._colorButton(self.theme.font_main_color)
|
||||
|
|
|
@ -708,7 +708,7 @@ class Ui_ThemeWizard(object):
|
|||
self.horizontalComboBox.setItemText(2,
|
||||
translate('OpenLP.ThemeWizard', 'Center'))
|
||||
self.verticalLabel.setText(
|
||||
translate('OpenLP.ThemeWizard', 'Vertcal Align:'))
|
||||
translate('OpenLP.ThemeWizard', 'Vertical Align:'))
|
||||
self.verticalComboBox.setItemText(0,
|
||||
translate('OpenLP.ThemeWizard', 'Top'))
|
||||
self.verticalComboBox.setItemText(1,
|
||||
|
|
Loading…
Reference in New Issue