Fix removing dock with translation

This commit is contained in:
rimach 2010-09-12 23:03:16 +02:00
parent d542e2762a
commit e2c8ee11f2
405 changed files with 9 additions and 18 deletions

0
.bzrignore Normal file → Executable file
View File

0
LICENSE Normal file → Executable file
View File

0
MANIFEST.in Normal file → Executable file
View File

0
OpenLP.spec Normal file → Executable file
View File

0
copyright.txt Normal file → Executable file
View File

0
demo_theme.xml Normal file → Executable file
View File

0
documentation/Makefile Normal file → Executable file
View File

0
documentation/PluginDevelopersGuide.txt Normal file → Executable file
View File

0
documentation/SongFormat.txt Normal file → Executable file
View File

0
documentation/make.bat Normal file → Executable file
View File

0
documentation/plugin.txt Normal file → Executable file
View File

0
documentation/source/conf.py Normal file → Executable file
View File

0
documentation/source/core/index.rst Normal file → Executable file
View File

0
documentation/source/core/lib.rst Normal file → Executable file
View File

0
documentation/source/core/theme.rst Normal file → Executable file
View File

0
documentation/source/index.rst Normal file → Executable file
View File

0
documentation/source/openlp.rst Normal file → Executable file
View File

0
documentation/source/plugins/bibles.rst Normal file → Executable file
View File

0
documentation/source/plugins/index.rst Normal file → Executable file
View File

0
documentation/source/plugins/songs.rst Normal file → Executable file
View File

0
openlp/.version Normal file → Executable file
View File

0
openlp/__init__.py Normal file → Executable file
View File

0
openlp/core/__init__.py Normal file → Executable file
View File

0
openlp/core/lib/__init__.py Normal file → Executable file
View File

0
openlp/core/lib/baselistwithdnd.py Normal file → Executable file
View File

0
openlp/core/lib/db.py Normal file → Executable file
View File

0
openlp/core/lib/dockwidget.py Normal file → Executable file
View File

0
openlp/core/lib/eventreceiver.py Normal file → Executable file
View File

0
openlp/core/lib/htmlbuilder.py Normal file → Executable file
View File

2
openlp/core/lib/mediamanageritem.py Normal file → Executable file
View File

@ -215,7 +215,7 @@ class MediaManagerItem(QtGui.QWidget):
loadString[u'title'],
loadString[u'tooltip'],
u':/general/general_open.png', self.onFileClick)
## New Button ## rimach
## New Button ##
if self.hasNewIcon:
newString = self.plugin.getString(StringType.New)
self.addToolbarButton(

6
openlp/core/lib/plugin.py Normal file → Executable file
View File

@ -127,8 +127,8 @@ class Plugin(QtCore.QObject):
Defaults to *None*. A list of helper objects.
"""
QtCore.QObject.__init__(self)
self.name = name
self.set_plugin_strings()
self.name = name
if version:
self.version = version
self.settingsSection = self.name.lower()
@ -269,7 +269,7 @@ class Plugin(QtCore.QObject):
Called by the plugin to remove toolbar
"""
if self.mediaItem:
self.mediadock.remove_dock(self.name)
self.mediadock.remove_dock(self.name_lower)
if self.settings_tab:
self.settingsForm.removeTab(self.name)
@ -315,5 +315,5 @@ class Plugin(QtCore.QObject):
"""
self.name = u'Plugin'
self.name_lower = u'plugin'
self.strings = {}

0
openlp/core/lib/pluginmanager.py Normal file → Executable file
View File

0
openlp/core/lib/renderer.py Normal file → Executable file
View File

0
openlp/core/lib/rendermanager.py Normal file → Executable file
View File

0
openlp/core/lib/serviceitem.py Normal file → Executable file
View File

0
openlp/core/lib/settingsmanager.py Normal file → Executable file
View File

0
openlp/core/lib/settingstab.py Normal file → Executable file
View File

0
openlp/core/lib/spelltextedit.py Normal file → Executable file
View File

0
openlp/core/lib/theme.py Normal file → Executable file
View File

0
openlp/core/lib/toolbar.py Normal file → Executable file
View File

0
openlp/core/theme/__init__.py Normal file → Executable file
View File

0
openlp/core/theme/theme.py Normal file → Executable file
View File

0
openlp/core/ui/__init__.py Normal file → Executable file
View File

0
openlp/core/ui/aboutdialog.py Normal file → Executable file
View File

0
openlp/core/ui/aboutform.py Normal file → Executable file
View File

0
openlp/core/ui/advancedtab.py Normal file → Executable file
View File

0
openlp/core/ui/amendthemedialog.py Normal file → Executable file
View File

0
openlp/core/ui/amendthemeform.py Normal file → Executable file
View File

0
openlp/core/ui/exceptiondialog.py Normal file → Executable file
View File

0
openlp/core/ui/exceptionform.py Normal file → Executable file
View File

0
openlp/core/ui/generaltab.py Normal file → Executable file
View File

0
openlp/core/ui/maindisplay.py Normal file → Executable file
View File

0
openlp/core/ui/mainwindow.py Normal file → Executable file
View File

0
openlp/core/ui/mediadockmanager.py Normal file → Executable file
View File

0
openlp/core/ui/plugindialog.py Normal file → Executable file
View File

0
openlp/core/ui/pluginform.py Normal file → Executable file
View File

0
openlp/core/ui/screen.py Normal file → Executable file
View File

0
openlp/core/ui/serviceitemeditdialog.py Normal file → Executable file
View File

0
openlp/core/ui/serviceitemeditform.py Normal file → Executable file
View File

0
openlp/core/ui/servicemanager.py Normal file → Executable file
View File

0
openlp/core/ui/servicenotedialog.py Normal file → Executable file
View File

0
openlp/core/ui/servicenoteform.py Normal file → Executable file
View File

0
openlp/core/ui/settingsdialog.py Normal file → Executable file
View File

0
openlp/core/ui/settingsform.py Normal file → Executable file
View File

0
openlp/core/ui/slidecontroller.py Normal file → Executable file
View File

0
openlp/core/ui/splashscreen.py Normal file → Executable file
View File

0
openlp/core/ui/thememanager.py Normal file → Executable file
View File

0
openlp/core/ui/themestab.py Normal file → Executable file
View File

0
openlp/core/utils/__init__.py Normal file → Executable file
View File

0
openlp/core/utils/languagemanager.py Normal file → Executable file
View File

0
openlp/plugins/__init__.py Normal file → Executable file
View File

0
openlp/plugins/alerts/__init__.py Normal file → Executable file
View File

1
openlp/plugins/alerts/alertsplugin.py Normal file → Executable file
View File

@ -40,7 +40,6 @@ class AlertsPlugin(Plugin):
log.info(u'Alerts Plugin loaded')
def __init__(self, plugin_helpers):
self.set_plugin_strings()
Plugin.__init__(self, u'Alerts', u'1.9.2', plugin_helpers)
self.weight = -3
self.icon = build_icon(u':/plugins/plugin_alerts.png')

0
openlp/plugins/alerts/forms/__init__.py Normal file → Executable file
View File

0
openlp/plugins/alerts/forms/alertdialog.py Normal file → Executable file
View File

0
openlp/plugins/alerts/forms/alertform.py Normal file → Executable file
View File

0
openlp/plugins/alerts/lib/__init__.py Normal file → Executable file
View File

0
openlp/plugins/alerts/lib/alertsmanager.py Normal file → Executable file
View File

0
openlp/plugins/alerts/lib/alertstab.py Normal file → Executable file
View File

0
openlp/plugins/alerts/lib/db.py Normal file → Executable file
View File

0
openlp/plugins/bibles/__init__.py Normal file → Executable file
View File

1
openlp/plugins/bibles/bibleplugin.py Normal file → Executable file
View File

@ -37,7 +37,6 @@ class BiblePlugin(Plugin):
log.info(u'Bible Plugin loaded')
def __init__(self, plugin_helpers):
self.set_plugin_strings()
Plugin.__init__(self, u'Bibles', u'1.9.2', plugin_helpers)
self.weight = -9
self.icon_path = u':/plugins/plugin_bibles.png'

0
openlp/plugins/bibles/forms/__init__.py Normal file → Executable file
View File

0
openlp/plugins/bibles/forms/bibleimportwizard.py Normal file → Executable file
View File

0
openlp/plugins/bibles/forms/importwizardform.py Normal file → Executable file
View File

0
openlp/plugins/bibles/lib/__init__.py Normal file → Executable file
View File

0
openlp/plugins/bibles/lib/biblestab.py Normal file → Executable file
View File

0
openlp/plugins/bibles/lib/csvbible.py Normal file → Executable file
View File

0
openlp/plugins/bibles/lib/db.py Normal file → Executable file
View File

0
openlp/plugins/bibles/lib/http.py Normal file → Executable file
View File

0
openlp/plugins/bibles/lib/manager.py Normal file → Executable file
View File

0
openlp/plugins/bibles/lib/mediaitem.py Normal file → Executable file
View File

0
openlp/plugins/bibles/lib/opensong.py Normal file → Executable file
View File

0
openlp/plugins/bibles/lib/osis.py Normal file → Executable file
View File

0
openlp/plugins/bibles/resources/biblegateway.csv Normal file → Executable file
View File

0
openlp/plugins/bibles/resources/crosswalkbooks.csv Normal file → Executable file
View File

0
openlp/plugins/bibles/resources/httpbooks.sqlite Normal file → Executable file
View File

0
openlp/plugins/bibles/resources/osisbooks.csv Normal file → Executable file
View File

0
openlp/plugins/custom/__init__.py Normal file → Executable file
View File

1
openlp/plugins/custom/customplugin.py Normal file → Executable file
View File

@ -47,7 +47,6 @@ class CustomPlugin(Plugin):
log.info(u'Custom Plugin loaded')
def __init__(self, plugin_helpers):
self.set_plugin_strings()
Plugin.__init__(self, u'Custom', u'1.9.2', plugin_helpers)
self.weight = -5
self.custommanager = Manager(u'custom', init_schema)

Some files were not shown because too many files have changed in this diff Show More