forked from openlp/openlp
Head1133
This commit is contained in:
commit
676beeed48
@ -306,8 +306,8 @@ def expand_tags(text):
|
|||||||
text = text.replace(tag[u'end tag'], tag[u'end html'])
|
text = text.replace(tag[u'end tag'], tag[u'end html'])
|
||||||
return text
|
return text
|
||||||
|
|
||||||
from theme import ThemeLevel, ThemeXML, BackgroundGradientType, BackgroundType, \
|
from theme import ThemeLevel, ThemeXML, BackgroundGradientType, \
|
||||||
HorizontalType, VerticalType
|
BackgroundType, HorizontalType, VerticalType
|
||||||
from spelltextedit import SpellTextEdit
|
from spelltextedit import SpellTextEdit
|
||||||
from eventreceiver import Receiver
|
from eventreceiver import Receiver
|
||||||
from imagemanager import ImageManager
|
from imagemanager import ImageManager
|
||||||
|
@ -31,7 +31,6 @@ import re
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from xml.dom.minidom import Document
|
from xml.dom.minidom import Document
|
||||||
from xml.etree.ElementTree import ElementTree, XML
|
|
||||||
from lxml import etree, objectify
|
from lxml import etree, objectify
|
||||||
|
|
||||||
from openlp.core.lib import str_to_bool
|
from openlp.core.lib import str_to_bool
|
||||||
|
@ -82,7 +82,8 @@ class AdvancedTab(SettingsTab):
|
|||||||
self.doubleClickLiveCheckBox.setObjectName(u'doubleClickLiveCheckBox')
|
self.doubleClickLiveCheckBox.setObjectName(u'doubleClickLiveCheckBox')
|
||||||
self.uiLayout.addWidget(self.doubleClickLiveCheckBox)
|
self.uiLayout.addWidget(self.doubleClickLiveCheckBox)
|
||||||
# self.expandServiceItemCheckBox = QtGui.QCheckBox(self.uiGroupBox)
|
# self.expandServiceItemCheckBox = QtGui.QCheckBox(self.uiGroupBox)
|
||||||
# self.expandServiceItemCheckBox.setObjectName(u'expandServiceItemCheckBox')
|
# self.expandServiceItemCheckBox.setObjectName(
|
||||||
|
# u'expandServiceItemCheckBox')
|
||||||
# self.uiLayout.addWidget(self.expandServiceItemCheckBox)
|
# self.uiLayout.addWidget(self.expandServiceItemCheckBox)
|
||||||
self.leftLayout.addWidget(self.uiGroupBox)
|
self.leftLayout.addWidget(self.uiGroupBox)
|
||||||
self.expandServiceItemCheckBox = QtGui.QCheckBox(self.uiGroupBox)
|
self.expandServiceItemCheckBox = QtGui.QCheckBox(self.uiGroupBox)
|
||||||
|
@ -42,9 +42,8 @@ The basic XML is of the format::
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from xml.dom.minidom import Document
|
from xml.dom.minidom import Document
|
||||||
from xml.etree.ElementTree import ElementTree, XML, dump
|
from xml.etree.ElementTree import dump
|
||||||
from lxml import etree, objectify
|
from lxml import etree, objectify
|
||||||
from xml.parsers.expat import ExpatError
|
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ class OpenLPSongImport(SongImport):
|
|||||||
u'Importing song %s of %s' % (song_count, song_total))
|
u'Importing song %s of %s' % (song_count, song_total))
|
||||||
new_song = Song()
|
new_song = Song()
|
||||||
new_song.title = song.title
|
new_song.title = song.title
|
||||||
if has_media_files:
|
if has_media_files and hasattr(song, 'alternate_title'):
|
||||||
new_song.alternate_title = song.alternate_title
|
new_song.alternate_title = song.alternate_title
|
||||||
else:
|
else:
|
||||||
old_titles = song.search_title.split(u'@')
|
old_titles = song.search_title.split(u'@')
|
||||||
|
Loading…
Reference in New Issue
Block a user