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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [74823cf40c]

Overview
Comment:Set normal_bg="", and let pygtk yield warnings again
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 74823cf40c5c8d41e6597bf4f38431606601c4bd
User & Date: mario on 2020-12-12 15:12:37
Other Links: manifest | tags
Context
2020-12-12
17:30
Reimplement combobox.parse_options for builtin/unprocessed record_flags, also make quicksearch not expand vertically anymore for Gtk3. check-in: d9dcff66f3 user: mario tags: trunk
15:12
Set normal_bg="", and let pygtk yield warnings again check-in: 74823cf40c user: mario tags: trunk
15:11
Update configwin for select:{} being preparsed by pluginconf now check-in: 798a7746aa user: mario tags: trunk
Changes

Modified uikit.py from [23eda88d68] to [7af8488fcd].

214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
    @staticmethod
    def get_bg_color(widget):
        try:
            # Gtk3 only
            normal_bg = widget.get_style_context().get_background_color(gtk.StateType.NORMAL)
            normal_bg = normal_bg.to_string()
        except:
            normal_bg = "#ffffff"  # Gtk2 default
        return normal_bg


    #-- treeview for categories
    #
    # simple two-level treeview display in one column
    # with entries = [main,[sub,sub], title,[...],...]







|







214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
    @staticmethod
    def get_bg_color(widget):
        try:
            # Gtk3 only
            normal_bg = widget.get_style_context().get_background_color(gtk.StateType.NORMAL)
            normal_bg = normal_bg.to_string()
        except:
            normal_bg = ""  # just live with the inevitable Warning
        return normal_bg


    #-- treeview for categories
    #
    # simple two-level treeview display in one column
    # with entries = [main,[sub,sub], title,[...],...]