From 5035f79f50ea52d2e612c7abd04e738dd87cf552 Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Wed, 21 Oct 2009 18:11:58 +0200 Subject: [PATCH] Started working on a non-UI converter (for web-based import). --- openlp-1to2-converter.py | 22 ++++++++++++++++++++++ openlp/core/lib/plugin.py | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/openlp-1to2-converter.py b/openlp-1to2-converter.py index dd1d601dd..bccb44d31 100644 --- a/openlp-1to2-converter.py +++ b/openlp-1to2-converter.py @@ -1,5 +1,27 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- +# vim: autoindent shiftwidth=4 expandtab textwidth=80 tabstop=4 softtabstop=4 + +############################################################################### +# OpenLP - Open Source Lyrics Projection # +# --------------------------------------------------------------------------- # +# Copyright (c) 2008-2009 Raoul Snyman # +# Portions copyright (c) 2008-2009 Martin Thompson, Tim Bentley, Carsten # +# Tinggaard, Jon Tibble, Jonathan Corwin, Maikel Stuivenberg, Scott Guerrieri # +# --------------------------------------------------------------------------- # +# This program is free software; you can redistribute it and/or modify it # +# under the terms of the GNU General Public License as published by the Free # +# Software Foundation; version 2 of the License. # +# # +# This program is distributed in the hope that it will be useful, but WITHOUT # +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for # +# more details. # +# # +# You should have received a copy of the GNU General Public License along # +# with this program; if not, write to the Free Software Foundation, Inc., 59 # +# Temple Place, Suite 330, Boston, MA 02111-1307 USA # +############################################################################### import sys import os diff --git a/openlp/core/lib/plugin.py b/openlp/core/lib/plugin.py index 84087a166..0dd8b5230 100644 --- a/openlp/core/lib/plugin.py +++ b/openlp/core/lib/plugin.py @@ -129,7 +129,8 @@ class Plugin(object): self.settings = plugin_helpers[u'settings'] self.mediadock = plugin_helpers[u'toolbox'] QtCore.QObject.connect(Receiver.get_receiver(), - QtCore.SIGNAL(u'%s_add_service_item'% self.name), self.process_add_service_event) + QtCore.SIGNAL(u'%s_add_service_item'% self.name), + self.process_add_service_event) def check_pre_conditions(self): """