From 4e8a7f47eb86c0d723e1d1dfbea8fc89884f1170 Mon Sep 17 00:00:00 2001 From: Tim Bentley Date: Tue, 5 Oct 2010 20:52:28 +0100 Subject: [PATCH] Fix up theme xml handling to new schema --- openlp/core/lib/htmlbuilder.py | 46 +++--- openlp/core/lib/renderer.py | 6 +- openlp/core/lib/theme.py | 230 +++++++++++++++++------------- openlp/core/ui/thememanager.py | 4 +- openlp/core/ui/themewizard.py | 78 +++++++--- openlp/core/ui/themewizardform.py | 78 +++++++--- resources/forms/themewizard.ui | 114 +++++++++++---- 7 files changed, 355 insertions(+), 201 deletions(-) diff --git a/openlp/core/lib/htmlbuilder.py b/openlp/core/lib/htmlbuilder.py index 765d0f9fa..4bfe8e707 100644 --- a/openlp/core/lib/htmlbuilder.py +++ b/openlp/core/lib/htmlbuilder.py @@ -87,16 +87,16 @@ body { var transition = %s; function show_video(state, path, volume, loop){ - // Note, the preferred method for looping would be to use the + // Note, the preferred method for looping would be to use the // video tag loop attribute. // But QtWebKit doesn't support this. Neither does it support the // onended event, hence the setInterval() // In addition, setting the currentTime attribute to zero to restart // the video raises an INDEX_SIZE_ERROR: DOM Exception 1 - // To complicate it further, sometimes vid.currentTime stops + // To complicate it further, sometimes vid.currentTime stops // slightly short of vid.duration and vid.ended is intermittent! // - // Note, currently the background may go black between loops. Not + // Note, currently the background may go black between loops. Not // desirable. Need to investigate using two