Index: README ================================================================== --- README +++ README @@ -104,12 +104,12 @@ - fix for https://bugzilla.redhat.com/show_bug.cgi?id=655596 array error - transitioned glade file to gtk.Builder, just a few things broke - made configuration window resizable - locked station list columns, no longer resortable (associatation mismatch) - applied Vincents fixed for Windows action.run and Shoutcast PQ parsing -- reading of live365 restored, but no .pls location so far - +- live365 parsing restored by patch from Abhisek Sanyal +- fix Pixbuf typecasing in mygtk liststore appending 2.0.8 - configuration files use prettified json - fixed double quotation for %pls players and /local/file handling - (unused) channel .shutdown function introduced (late saving) Index: mygtk.py ================================================================== --- mygtk.py +++ mygtk.py @@ -31,10 +31,12 @@ import gobject import os.path import copy +def __print__(*args): + print(" ".join([str(a) for a in args])) # simplified gtk constructors --------------------------------------------- class mygtk: @@ -153,11 +155,11 @@ # add ls.append(row) # had to be adapted for real TreeStore (would require additional input for grouping/level/parents) except: # brute-force typecast - ls.append( [ty(va) for va,ty in zip(row,vartypes)] ) + ls.append( [va if ty==gtk.gdk.Pixbuf else ty(va) for va,ty in zip(row,vartypes)] ) # apply array to widget widget.set_model(ls) return ls