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

⌈⌋ branch:  streamtuner2


Check-in [2e9f6d9a19]

Overview
Comment:Prevent crash on absent opt["select"] field.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2e9f6d9a19633c2802db5b2b6a3d8c63aadf667c
User & Date: mario on 2016-12-03 14:47:00
Other Links: manifest | tags
Context
2016-12-03
14:47
Introduce Gtk theme switching again. check-in: 303e1c8e48 user: mario tags: trunk
14:47
Prevent crash on absent opt["select"] field. check-in: 2e9f6d9a19 user: mario tags: trunk
2016-12-02
23:08
Mirror manual changes into HTML pages. check-in: 731728afab user: mario tags: trunk
Changes

Modified channels/configwin.py from [d6732e4b27] to [78b3f90f28].

151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
            # display checkbox
            elif opt["type"] in ("bool", "boolean"):
                cb = gtk.CheckButton(opt["description"])
                description = None

            # drop down list
            elif opt["type"] in ("select", "choose", "options"):
                cb = ComboBoxText(ComboBoxText.parse_options(opt["select"])) # custom uikit widget

            # numeric
            elif opt["type"] in ("int", "integer", "numeric"):
                adj = gtk.Adjustment(0, 0, 5000, 1, 10, 0)
                if ver == 2:
                    cb = gtk.SpinButton(adj, 1.0, 0)
                else:







|







151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
            # display checkbox
            elif opt["type"] in ("bool", "boolean"):
                cb = gtk.CheckButton(opt["description"])
                description = None

            # drop down list
            elif opt["type"] in ("select", "choose", "options"):
                cb = ComboBoxText(ComboBoxText.parse_options(opt.get("select"))) # custom uikit widget

            # numeric
            elif opt["type"] in ("int", "integer", "numeric"):
                adj = gtk.Adjustment(0, 0, 5000, 1, 10, 0)
                if ver == 2:
                    cb = gtk.SpinButton(adj, 1.0, 0)
                else: