Index: dev/snapcraft.yaml ================================================================== --- dev/snapcraft.yaml +++ dev/snapcraft.yaml @@ -79,12 +79,12 @@ after: [ python, st2, desktop-gtk2 ] plugin: nil build-snaps: [ gnome-3-28-1804 ] override-prime: | set -eux - cd /snap/gnome-3-28-1804/current - find . -type f,l -exec rm -f $SNAPCRAFT_PRIME/{} \; + #cd /snap/gnome-3-28-1804/current + #find . -type f,l -exec rm -f $SNAPCRAFT_PRIME/{} \; #cd $SNAPCRAFT_PRIME/usr/lib/locale #find . -type f,l -exec rm -f $SNAPCRAFT_PRIME/{} \; apps: pyz: Index: gtk3.xml.gz ================================================================== --- gtk3.xml.gz +++ gtk3.xml.gz cannot compute difference between binary files Index: st2.py ================================================================== --- st2.py +++ st2.py @@ -2,11 +2,11 @@ # encoding: utf-8 # api: python # type: application # title: streamtuner2 # description: Directory browser for internet radio, audio and video streams -# version: 2.2.2-rc1 +# version: 2.2.2-py3.1 # state: stable # author: Mario Salzer # license: Public Domain # url: http://freshcode.club/projects/streamtuner2 # config: Index: uikit.py ================================================================== --- uikit.py +++ uikit.py @@ -713,14 +713,15 @@ self.connect("scroll_event", self.no_scroll) # collect entries self.ls = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING) self.set_model(self.ls) - entries = entries.items() - if type(entries[0]) is not tuple: - entries = zip(entries, entries) - for key,value in entries: + if isinstance(entries, str): + entries = ComboBoxText.parse_options(entries) + if isinstance(entries, list): + entries = dict(zip(entries, entries)) + for key,value in entries.items(): self.ls.append([key, value]) # activate dropdown of given value def set_default(self, value): for index,row in enumerate(self.ls):