Diff
Differences From Artifact [6a4e939185]:
- File channels/radiotray.py — part of check-in [a872fb7d36] at 2015-04-07 19:49:25 on branch trunk — Split up ExtensionsβΊ submenus. Register major plugins (timer, myoggradio, radiotray) as direct menu entries, but complex extensions (exportcat) as subentry still. (user: mario, size: 4574) [annotate] [blame] [check-ins using]
To Artifact [1ad37964fc]:
- File channels/radiotray.py — part of check-in [6a17061df0] at 2015-04-19 19:35:07 on branch trunk — Add plugin defaults. (user: mario, size: 4631) [annotate] [blame] [check-ins using]
| ︙ | |||
64 65 66 67 68 69 70 71 72 73 74 75 76 77 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | + |
# hook up to main tab
def __init__(self, parent):
# keep reference to main window
self.parent = parent
self.bm = parent.channels["bookmarks"]
conf.add_plugin_defaults(self.meta, self.module)
# create category
self.bm.add_category("radiotray", plugin=self);
self.bm.streams["radiotray"] = self.update_streams(cat="radiotray")
self.bm.reload_if_current(self.module)
# add context menu
|
| ︙ |