From f5bee07341cf94968d5dbbf60092c6fff367536f Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Mon, 30 Nov 2009 22:29:26 +0200 Subject: [PATCH] Added Michael to the copyright notice. Fixed a bug where Media Manager item toolbar buttons were becoming toggle buttons. Cleaned up config settings. Miscellaneous other bugfixes. --- openlp-1to2-converter.py | 4 +- openlp/__init__.py | 4 +- openlp/core/__init__.py | 4 +- openlp/core/lib/__init__.py | 10 ++--- openlp/core/lib/baselistwithdnd.py | 4 +- openlp/core/lib/dockwidget.py | 4 +- openlp/core/lib/eventreceiver.py | 4 +- openlp/core/lib/mediamanageritem.py | 29 ++++++-------- openlp/core/lib/plugin.py | 4 +- openlp/core/lib/pluginconfig.py | 4 +- openlp/core/lib/pluginmanager.py | 4 +- openlp/core/lib/renderer.py | 4 +- openlp/core/lib/rendermanager.py | 4 +- openlp/core/lib/serviceitem.py | 8 ++-- openlp/core/lib/settingsmanager.py | 4 +- openlp/core/lib/settingstab.py | 4 +- openlp/core/lib/songxmlhandler.py | 4 +- openlp/core/lib/themexmlhandler.py | 4 +- openlp/core/lib/toolbar.py | 20 +++++----- openlp/core/lib/xmlrootclass.py | 4 +- openlp/core/ui/__init__.py | 4 +- openlp/core/ui/aboutdialog.py | 10 +++-- openlp/core/ui/aboutform.py | 6 +-- openlp/core/ui/alertform.py | 8 ++-- openlp/core/ui/alertstab.py | 4 +- openlp/core/ui/amendthemedialog.py | 10 ++--- openlp/core/ui/amendthemeform.py | 4 +- openlp/core/ui/generaltab.py | 4 +- openlp/core/ui/maindisplay.py | 4 +- openlp/core/ui/mainwindow.py | 28 +++++++------- openlp/core/ui/mediadockmanager.py | 4 +- openlp/core/ui/plugindialog.py | 4 +- openlp/core/ui/pluginform.py | 4 +- openlp/core/ui/servicemanager.py | 4 +- openlp/core/ui/settingsdialog.py | 4 +- openlp/core/ui/settingsform.py | 4 +- openlp/core/ui/slidecontroller.py | 13 +++++-- openlp/core/ui/splashscreen.py | 8 ++-- openlp/core/ui/thememanager.py | 12 +++--- openlp/core/ui/themestab.py | 4 +- openlp/core/utils/__init__.py | 5 ++- openlp/core/utils/confighelper.py | 5 ++- openlp/core/utils/registry.py | 5 ++- openlp/migration/__init__.py | 5 ++- openlp/migration/display.py | 5 ++- openlp/migration/migratebibles.py | 5 ++- openlp/migration/migratefiles.py | 5 ++- openlp/migration/migratesongs.py | 7 ++-- openlp/plugins/__init__.py | 5 ++- openlp/plugins/bibles/__init__.py | 5 ++- openlp/plugins/bibles/bibleplugin.py | 9 +++-- openlp/plugins/bibles/forms/__init__.py | 5 ++- .../plugins/bibles/forms/bibleimportdialog.py | 11 +++--- .../plugins/bibles/forms/bibleimportform.py | 5 ++- openlp/plugins/bibles/lib/__init__.py | 5 ++- openlp/plugins/bibles/lib/bibleCSVimpl.py | 5 ++- openlp/plugins/bibles/lib/bibleDBimpl.py | 5 ++- openlp/plugins/bibles/lib/bibleHTTPimpl.py | 5 ++- openlp/plugins/bibles/lib/bibleOSISimpl.py | 5 ++- openlp/plugins/bibles/lib/biblestab.py | 5 ++- openlp/plugins/bibles/lib/common.py | 5 ++- openlp/plugins/bibles/lib/manager.py | 5 ++- openlp/plugins/bibles/lib/mediaitem.py | 5 ++- openlp/plugins/bibles/lib/models.py | 5 ++- openlp/plugins/custom/__init__.py | 5 ++- openlp/plugins/custom/customplugin.py | 9 +++-- openlp/plugins/custom/forms/__init__.py | 5 ++- .../plugins/custom/forms/editcustomdialog.py | 14 ++++--- openlp/plugins/custom/forms/editcustomform.py | 5 ++- openlp/plugins/custom/lib/__init__.py | 5 ++- openlp/plugins/custom/lib/classes.py | 5 ++- openlp/plugins/custom/lib/manager.py | 5 ++- openlp/plugins/custom/lib/mediaitem.py | 5 ++- openlp/plugins/custom/lib/meta.py | 5 ++- openlp/plugins/custom/lib/models.py | 5 ++- openlp/plugins/custom/lib/tables.py | 5 ++- openlp/plugins/images/__init__.py | 5 ++- openlp/plugins/images/imageplugin.py | 9 +++-- openlp/plugins/images/lib/__init__.py | 5 ++- openlp/plugins/images/lib/imagetab.py | 5 ++- openlp/plugins/images/lib/mediaitem.py | 11 +++--- openlp/plugins/media/__init__.py | 5 ++- openlp/plugins/media/lib/__init__.py | 5 ++- openlp/plugins/media/lib/mediaitem.py | 9 +++-- openlp/plugins/media/lib/mediatab.py | 5 ++- openlp/plugins/media/mediaplugin.py | 9 +++-- openlp/plugins/presentations/__init__.py | 5 ++- openlp/plugins/presentations/lib/__init__.py | 5 ++- .../presentations/lib/impresscontroller.py | 11 +++--- openlp/plugins/presentations/lib/mediaitem.py | 5 ++- .../presentations/lib/messagelistener.py | 5 ++- .../presentations/lib/powerpointcontroller.py | 19 +++++----- .../presentations/lib/pptviewcontroller.py | 11 +++--- .../presentations/lib/pptviewlib/ppttest.py | 5 ++- .../lib/presentationcontroller.py | 5 ++- .../presentations/lib/presentationtab.py | 5 ++- .../presentations/presentationplugin.py | 9 +++-- openlp/plugins/remotes/__init__.py | 24 ++++++++++++ openlp/plugins/remotes/lib/__init__.py | 5 ++- openlp/plugins/remotes/lib/remotetab.py | 5 ++- openlp/plugins/remotes/remoteclient-cli.py | 5 ++- openlp/plugins/remotes/remoteplugin.py | 5 ++- openlp/plugins/songs/__init__.py | 5 ++- openlp/plugins/songs/forms/__init__.py | 5 ++- openlp/plugins/songs/forms/authorsdialog.py | 5 ++- openlp/plugins/songs/forms/authorsform.py | 5 ++- openlp/plugins/songs/forms/editsongdialog.py | 9 +++-- openlp/plugins/songs/forms/editsongform.py | 7 ++-- openlp/plugins/songs/forms/editversedialog.py | 28 +++++++++++--- openlp/plugins/songs/forms/editverseform.py | 5 ++- .../plugins/songs/forms/openlpexportdialog.py | 5 ++- .../plugins/songs/forms/openlpexportform.py | 5 ++- .../plugins/songs/forms/openlpimportdialog.py | 5 ++- .../plugins/songs/forms/openlpimportform.py | 5 ++- .../songs/forms/opensongexportdialog.py | 5 ++- .../plugins/songs/forms/opensongexportform.py | 5 ++- .../songs/forms/opensongimportdialog.py | 5 ++- .../plugins/songs/forms/opensongimportform.py | 5 ++- openlp/plugins/songs/forms/songbookdialog.py | 5 ++- openlp/plugins/songs/forms/songbookform.py | 5 ++- .../songs/forms/songmaintenancedialog.py | 31 +++++++-------- .../songs/forms/songmaintenanceform.py | 38 +++++++++++-------- openlp/plugins/songs/forms/topicsdialog.py | 5 ++- openlp/plugins/songs/forms/topicsform.py | 5 ++- openlp/plugins/songs/lib/__init__.py | 5 ++- openlp/plugins/songs/lib/classes.py | 5 ++- openlp/plugins/songs/lib/manager.py | 5 ++- openlp/plugins/songs/lib/mediaitem.py | 8 ++-- openlp/plugins/songs/lib/meta.py | 5 ++- openlp/plugins/songs/lib/models.py | 5 ++- openlp/plugins/songs/lib/songstab.py | 5 ++- openlp/plugins/songs/lib/songxml.py | 5 ++- openlp/plugins/songs/lib/tables.py | 5 ++- openlp/plugins/songs/songsplugin.py | 9 +++-- openlp/plugins/songusage/__init__.py | 5 ++- openlp/plugins/songusage/forms/__init__.py | 5 ++- .../songusage/forms/songusagedeletedialog.py | 28 +++++++++++--- .../songusage/forms/songusagedeleteform.py | 5 ++- .../songusage/forms/songusagedetaildialog.py | 28 +++++++++++--- .../songusage/forms/songusagedetailform.py | 5 ++- openlp/plugins/songusage/lib/__init__.py | 5 ++- openlp/plugins/songusage/lib/classes.py | 5 ++- openlp/plugins/songusage/lib/manager.py | 5 ++- openlp/plugins/songusage/lib/meta.py | 5 ++- openlp/plugins/songusage/lib/models.py | 5 ++- openlp/plugins/songusage/lib/tables.py | 5 ++- openlp/plugins/songusage/songusageplugin.py | 11 +++--- openlpcnv.pyw | 4 +- setup.py | 4 +- 149 files changed, 619 insertions(+), 437 deletions(-) diff --git a/openlp-1to2-converter.py b/openlp-1to2-converter.py index 4ccea9d4a..73de488c0 100755 --- a/openlp-1to2-converter.py +++ b/openlp-1to2-converter.py @@ -7,8 +7,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/__init__.py b/openlp/__init__.py index e3a206f50..4f582a714 100644 --- a/openlp/__init__.py +++ b/openlp/__init__.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/__init__.py b/openlp/core/__init__.py index e3a206f50..4f582a714 100644 --- a/openlp/core/__init__.py +++ b/openlp/core/__init__.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/__init__.py b/openlp/core/lib/__init__.py index 11e833c4b..22fe0b674 100644 --- a/openlp/core/lib/__init__.py +++ b/openlp/core/lib/__init__.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # @@ -85,7 +85,7 @@ def str_to_bool(stringvalue): return stringvalue return stringvalue.strip().lower() in (u'true', u'yes', u'y') -def buildIcon(icon): +def build_icon(icon): """ Build a QIcon instance from an existing QIcon, a resource location, or a physical file location. If the icon is a QIcon instance, that icon is @@ -119,7 +119,7 @@ def contextMenuAction(base, icon, text, slot): """ action = QtGui.QAction(text, base) if icon: - action.setIcon(buildIcon(icon)) + action.setIcon(build_icon(icon)) QtCore.QObject.connect(action, QtCore.SIGNAL(u'triggered()'), slot) return action @@ -128,7 +128,7 @@ def contextMenu(base, icon, text): Utility method to help build context menus for plugins """ action = QtGui.QMenu(text, base) - action.setIcon(buildIcon(icon)) + action.setIcon(build_icon(icon)) return action def contextMenuSeparator(base): diff --git a/openlp/core/lib/baselistwithdnd.py b/openlp/core/lib/baselistwithdnd.py index d04dd9bb9..1de43082b 100644 --- a/openlp/core/lib/baselistwithdnd.py +++ b/openlp/core/lib/baselistwithdnd.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/dockwidget.py b/openlp/core/lib/dockwidget.py index f3b52aa3f..c793863dd 100644 --- a/openlp/core/lib/dockwidget.py +++ b/openlp/core/lib/dockwidget.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/eventreceiver.py b/openlp/core/lib/eventreceiver.py index a216dcb52..e81873dd3 100644 --- a/openlp/core/lib/eventreceiver.py +++ b/openlp/core/lib/eventreceiver.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/mediamanageritem.py b/openlp/core/lib/mediamanageritem.py index 5653c0438..5cb6df728 100644 --- a/openlp/core/lib/mediamanageritem.py +++ b/openlp/core/lib/mediamanageritem.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # @@ -155,7 +155,7 @@ class MediaManagerItem(QtGui.QWidget): self.PageLayout.addWidget(self.Toolbar) def addToolbarButton( - self, title, tooltip, icon, slot=None, objectname=None): + self, title, tooltip, icon, slot=None, checkable=False): """ A method to help developers easily add a button to the toolbar. @@ -181,7 +181,7 @@ class MediaManagerItem(QtGui.QWidget): # break compatability), but it makes sense for the icon to # come before the tooltip (as you have to have an icon, but # not neccesarily a tooltip) - self.Toolbar.addToolbarButton(title, icon, tooltip, slot, objectname) + self.Toolbar.addToolbarButton(title, icon, tooltip, slot, checkable) def addToolbarSeparator(self): """ @@ -213,50 +213,43 @@ class MediaManagerItem(QtGui.QWidget): self.addToolbarButton( u'Load %s' % self.PluginNameShort, u'%s %s' % (self.trUtf8('Load a new'), self.PluginNameVisible), - u':%s_load.png' % self.IconPath, self.onFileClick, - u'%sFileItem' % self.PluginNameShort) + u':%s_load.png' % self.IconPath, self.onFileClick) ## New Button ## if self.hasNewIcon: self.addToolbarButton( u'New %s' % self.PluginNameShort, u'%s %s' % (self.trUtf8('Add a new'), self.PluginNameVisible), - u':%s_new.png' % self.IconPath, self.onNewClick, - u'%sNewItem' % self.PluginNameShort) + u':%s_new.png' % self.IconPath, self.onNewClick) ## Edit Button ## if self.hasEditIcon: self.addToolbarButton( u'Edit %s' % self.PluginNameShort, u'%s %s' % (self.trUtf8('Edit the selected'), self.PluginNameVisible), - u':%s_edit.png' % self.IconPath, self.onEditClick, - u'%sEditItem' % self.PluginNameShort) + u':%s_edit.png' % self.IconPath, self.onEditClick) ## Delete Button ## if self.hasDeleteIcon: self.addToolbarButton( u'Delete %s' % self.PluginNameShort, self.trUtf8('Delete the selected item'), - u':%s_delete.png' % self.IconPath, self.onDeleteClick, - u'%sDeleteItem' % self.PluginNameShort) + u':%s_delete.png' % self.IconPath, self.onDeleteClick) ## Separator Line ## self.addToolbarSeparator() ## Preview ## self.addToolbarButton( u'Preview %s' % self.PluginNameShort, self.trUtf8('Preview the selected item'), - u':/system/system_preview.png', self.onPreviewClick, - u'PreviewItem') + u':/system/system_preview.png', self.onPreviewClick) ## Live Button ## self.addToolbarButton( u'Go Live', self.trUtf8('Send the selected item live'), - u':/system/system_live.png', self.onLiveClick, - u'LiveItem') + u':/system/system_live.png', self.onLiveClick) ## Add to service Button ## self.addToolbarButton( u'Add %s to Service' % self.PluginNameShort, self.trUtf8('Add the selected item(s) to the service'), - u':/system/system_add.png', self.onAddClick, - u'%sAddServiceItem' % self.PluginNameShort) + u':/system/system_add.png', self.onAddClick) def addListViewToToolBar(self): #Add the List widget diff --git a/openlp/core/lib/plugin.py b/openlp/core/lib/plugin.py index e3a28d486..49ea67c78 100644 --- a/openlp/core/lib/plugin.py +++ b/openlp/core/lib/plugin.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/pluginconfig.py b/openlp/core/lib/pluginconfig.py index fa61de422..9b099064f 100644 --- a/openlp/core/lib/pluginconfig.py +++ b/openlp/core/lib/pluginconfig.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/pluginmanager.py b/openlp/core/lib/pluginmanager.py index 122b208a4..64852e810 100644 --- a/openlp/core/lib/pluginmanager.py +++ b/openlp/core/lib/pluginmanager.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/renderer.py b/openlp/core/lib/renderer.py index 99eeea279..91dffbe82 100644 --- a/openlp/core/lib/renderer.py +++ b/openlp/core/lib/renderer.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/rendermanager.py b/openlp/core/lib/rendermanager.py index 9657284c2..ddb8360da 100644 --- a/openlp/core/lib/rendermanager.py +++ b/openlp/core/lib/rendermanager.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/serviceitem.py b/openlp/core/lib/serviceitem.py index 493470b72..7cb3906ab 100644 --- a/openlp/core/lib/serviceitem.py +++ b/openlp/core/lib/serviceitem.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # @@ -30,7 +30,7 @@ import uuid from PyQt4 import QtGui -from openlp.core.lib import buildIcon, Receiver +from openlp.core.lib import build_icon, Receiver class ServiceItemType(object): """ @@ -83,7 +83,7 @@ class ServiceItem(object): disk. """ self.icon = icon - self.iconic_representation = buildIcon(icon) + self.iconic_representation = build_icon(icon) def render(self): """ diff --git a/openlp/core/lib/settingsmanager.py b/openlp/core/lib/settingsmanager.py index 35c3f9964..871fac62c 100644 --- a/openlp/core/lib/settingsmanager.py +++ b/openlp/core/lib/settingsmanager.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/settingstab.py b/openlp/core/lib/settingstab.py index 843978a32..b72607fe0 100644 --- a/openlp/core/lib/settingstab.py +++ b/openlp/core/lib/settingstab.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/songxmlhandler.py b/openlp/core/lib/songxmlhandler.py index 7847d4391..d079c305c 100644 --- a/openlp/core/lib/songxmlhandler.py +++ b/openlp/core/lib/songxmlhandler.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/themexmlhandler.py b/openlp/core/lib/themexmlhandler.py index e94d94932..b2429c952 100644 --- a/openlp/core/lib/themexmlhandler.py +++ b/openlp/core/lib/themexmlhandler.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # diff --git a/openlp/core/lib/toolbar.py b/openlp/core/lib/toolbar.py index c83355d77..5cc14f89b 100644 --- a/openlp/core/lib/toolbar.py +++ b/openlp/core/lib/toolbar.py @@ -6,8 +6,8 @@ # --------------------------------------------------------------------------- # # Copyright (c) 2008-2009 Raoul Snyman # # Portions copyright (c) 2008-2009 Tim Bentley, Jonathan Corwin, Michael # -# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Carsten # -# Tinggaard, Jon Tibble # +# Gorven, Scott Guerrieri, Maikel Stuivenberg, Martin Thompson, Jon Tibble, # +# Carsten Tinggaard # # --------------------------------------------------------------------------- # # 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 # @@ -27,7 +27,7 @@ import logging from PyQt4 import QtCore, QtGui -from openlp.core.lib import buildIcon +from openlp.core.lib import build_icon class OpenLPToolbar(QtGui.QToolBar): """ @@ -68,7 +68,7 @@ class OpenLPToolbar(QtGui.QToolBar): ``objectname`` The name of the object, as used in `