modified:

openlp/core/lib/mediamanageritem.py
  openlp/core/ui/slidecontroller.py
This commit is contained in:
Stevan Pettit 2011-05-20 17:30:28 -04:00
parent 00a2a7b771
commit 31c1d23070
2 changed files with 4 additions and 2 deletions

View File

@ -113,10 +113,11 @@ class MediaManagerItem(QtGui.QWidget):
self.retranslateUi()
QtCore.QObject.connect(Receiver.get_receiver(),
QtCore.SIGNAL(u'%s_service_load' % self.parent.name.lower()),
self.serviceLoad)
def requiredIcons(self):
"""
This method is called to define the icons for the plugin.
Tis method is called to define the icons for the plugin.
It provides a default set and the plugin is able to override
the if required.
"""

View File

@ -1053,7 +1053,8 @@ class SlideController(QtGui.QWidget):
"""
From the preview display request the Item to be added to service
"""
Receiver.send_message(u'%s_add_service_item' % self.serviceItem.name)
self.serviceItem.from_plugin = False
self.parent.serviceManager.addServiceItem(self.serviceItem)
def onGoLiveClick(self):
"""