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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [7aa5d1f8dd]

Overview
Comment:ui change title bar: use gtk.STOCK_DIRECTORY as fallback when no png: icon is present (bookmarks channel)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 7aa5d1f8ddd186337e678bbbb0a0b574deff329d
User & Date: mario on 2020-05-15 19:00:44
Other Links: manifest | tags
Context
2020-05-15
19:36
Apply more `self.status(i / pages)` progressbar calls for some channels. check-in: e9c2e9a3a2 user: mario tags: trunk
19:00
ui change title bar: use gtk.STOCK_DIRECTORY as fallback when no png: icon is present (bookmarks channel) check-in: 7aa5d1f8dd user: mario tags: trunk
18:15
Tuner2 is gone as well. check-in: 78d057541a user: mario tags: trunk
Changes

Modified channels/ui_cht.py from [4f149ec26e] to [b84a26e358].

34
35
36
37
38
39
40


41

        domain = re.sub("^.+?//|/.+$", "", url)
        self.label.set_markup("<big><b>{}</b></big>\n<a href='{}'>{}</a>".format(title, url, domain))
        # icon (since 2.2.2)
        if self.icon and meta.get("png"):
            pixbuf = uikit.pixbuf(meta["png"])
            pixbuf = pixbuf.scale_simple(32, 32, gtk.gdk.INTERP_BILINEAR)
            self.icon.set_from_pixbuf(pixbuf)











>
>

>
34
35
36
37
38
39
40
41
42
43
44
        domain = re.sub("^.+?//|/.+$", "", url)
        self.label.set_markup("<big><b>{}</b></big>\n<a href='{}'>{}</a>".format(title, url, domain))
        # icon (since 2.2.2)
        if self.icon and meta.get("png"):
            pixbuf = uikit.pixbuf(meta["png"])
            pixbuf = pixbuf.scale_simple(32, 32, gtk.gdk.INTERP_BILINEAR)
            self.icon.set_from_pixbuf(pixbuf)
        elif self.icon:
            self.icon.set_from_stock(gtk.STOCK_DIRECTORY, size=5)