Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ ⎇ branch:  streamtuner2


Check-in [dbfe218f76]

Overview
Comment:Add uikit.tree() instantiation for bookmarks tab.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: dbfe218f76ebcf2e2ccf0eb9f4d7ded08ec1d3d0
User & Date: mario on 2015-04-23 19:04:05
Other Links: manifest | tags
Context
2015-04-23
19:04
Some more comments and log messages. check-in: 79ef6e5f2a user: mario tags: trunk
19:04
Add uikit.tree() instantiation for bookmarks tab. check-in: dbfe218f76 user: mario tags: trunk
19:03
Draw gtk_cat columns on initialiation in .gui() call. Use more literal uikit.do() invocations without lambda: wrapping. Let display_categories only run in uikit.do/idle, whereas .load() is run directly from there now. check-in: f1a357a60d user: mario tags: trunk
Changes

Modified channels/bookmarks.py from [4f1024300e] to [bc019be2b3].

45
46
47
48
49
50
51

52
53
54
55
56
57
58

    # cache list, to determine if a PLS url is bookmarked
    urls = []

    def gui(self, parent):
        parent.notebook_channels.set_menu_label_text(parent.v_bookmarks, "bookmarks")
        GenericChannel.gui(self, parent)


    # this channel does not actually retrieve/parse data from anywhere
    def update_categories(self):
        pass
        
    # but category sub-plugins might provide a hook
    category_plugins = {}







>







45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

    # cache list, to determine if a PLS url is bookmarked
    urls = []

    def gui(self, parent):
        parent.notebook_channels.set_menu_label_text(parent.v_bookmarks, "bookmarks")
        GenericChannel.gui(self, parent)
        uikit.tree_column(self.gtk_cat, "Group")

    # this channel does not actually retrieve/parse data from anywhere
    def update_categories(self):
        pass
        
    # but category sub-plugins might provide a hook
    category_plugins = {}