Check-in [b2d68b4b77]
Overview
Comment: | Remove @title and @module getters, add notebook channel menu_label (unstyled variant of tab_label). Support reading `png:` descriptor field instead of literal .png files along plugins. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b2d68b4b77c2821f5436118b8324f2aa |
User & Date: | mario on 2015-03-31 16:21:28 |
Other Links: | manifest | tags |
Context
2015-03-31
| ||
16:22 | Starting support for alternative genre/category sources. check-in: 3829f57e04 user: mario tags: trunk | |
16:21 | Remove @title and @module getters, add notebook channel menu_label (unstyled variant of tab_label). Support reading `png:` descriptor field instead of literal .png files along plugins. check-in: b2d68b4b77 user: mario tags: trunk | |
16:19 | Use `ui_xml` instead of local filename. (Read via pkgutil.get_data, so should work independently of installation path.) Add logo/banner from `logo.py` → `logo.png`. check-in: 9057171155 user: mario tags: trunk | |
Changes
Modified channels/__init__.py from [04ae180339] to [a58ebaa107].
︙ | |||
126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 | 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | + - - - - - - + - - - - - - - - - - - - | # constructor def __init__(self, parent=None): #self.streams = {} self.gtk_list = None self.gtk_cat = None self.module = self.__class__.__name__ self.meta = plugin_meta(None, inspect.getcomments(inspect.getmodule(self))) self.config = self.meta.get("config", []) self.title = self.meta.get("title", self.module) # only if streamtuner2 is run in graphical mode if (parent): self.cache() self.gui(parent) pass |
︙ | |||
564 565 566 567 568 569 570 | 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 | - - + + + + + + + - + + - + | tv2.show() sw2.add(tv2) vbox.pack2(sw2, resize=True, shrink=True) # prepare label label = gtk.HBox() label.set_property("visible", True) |
︙ |