forked from openlp/openlp
Backgounds now appear in Theme editor
This commit is contained in:
parent
486f5ce709
commit
efec5e1e95
@ -90,6 +90,8 @@ class ThemeXML(object):
|
|||||||
The path name to be added.
|
The path name to be added.
|
||||||
"""
|
"""
|
||||||
if self.background_filename is not None and path is not None:
|
if self.background_filename is not None and path is not None:
|
||||||
|
self.theme_name = self.theme_name.rstrip().lstrip()
|
||||||
|
self.background_filename = self.background_filename.rstrip().lstrip()
|
||||||
self.background_filename = os.path.join(path, self.theme_name,
|
self.background_filename = os.path.join(path, self.theme_name,
|
||||||
self.background_filename)
|
self.background_filename)
|
||||||
|
|
||||||
|
@ -108,6 +108,7 @@ class MainDisplay(DisplayLabel):
|
|||||||
Sets up the screen on a particular screen.
|
Sets up the screen on a particular screen.
|
||||||
@param (integer) screen This is the screen number.
|
@param (integer) screen This is the screen number.
|
||||||
"""
|
"""
|
||||||
|
log.debug(u'Setup %s for %s ' %(self.screens, screenNumber) )
|
||||||
screen = self.screens[screenNumber]
|
screen = self.screens[screenNumber]
|
||||||
if screen[u'number'] != screenNumber:
|
if screen[u'number'] != screenNumber:
|
||||||
# We will most probably never actually hit this bit, but just in
|
# We will most probably never actually hit this bit, but just in
|
||||||
|
Loading…
Reference in New Issue
Block a user