fix double load of manager

bzr-revno: 293
This commit is contained in:
Tim Bentley 2009-02-02 19:20:59 +00:00
parent 6ea70e92a1
commit e00e328ac1

View File

@ -45,7 +45,7 @@ class SongsPlugin(Plugin, PluginUtils):
self.icon = QtGui.QIcon() self.icon = QtGui.QIcon()
self.icon.addPixmap(QtGui.QPixmap(':/media/media_song.png'), self.icon.addPixmap(QtGui.QPixmap(':/media/media_song.png'),
QtGui.QIcon.Normal, QtGui.QIcon.Off) QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.songmanager = SongManager(self.config)
def get_media_manager_item(self): def get_media_manager_item(self):
# Create the MediaManagerItem object # Create the MediaManagerItem object