Index: contrib/theme_installer.py ================================================================== --- contrib/theme_installer.py +++ contrib/theme_installer.py @@ -2,11 +2,11 @@ # api: streamtuner2 # title: Gtk2 theme installer # description: Shows themes in the bookmarks pane for installation # type: feature # category: ui -# version: 0.3 +# version: 0.3.1 # priority: experimental # # Downloads a list of Gtk themes and presents it in the bookmarks # tab under... »themes«. Double clicking will download and install # a theme right away. @@ -161,11 +161,11 @@ ls = z.namelist() dll = [fn for fn in ls if re.search("\w+\.(dll|so)$", fn)] base = [m.group(1) for fn in ls for m in [re.match("^([\w\s\-\.]+)/gtk-2.0/.+", fn)] if m] # move *.dll / *.so - for gtk_dir in uikit.gtk.rc_get_module_dir().split(":"): + for gtk_dir in uikit.gtk.rc_get_module_dir().split(";" if conf.windows else ":"): if os.path.exists(gtk_dir) and os.access(gtk_dir, os.W_OK): for fn in dll: if fn.find("/") > 0: # create lib/engines/.../ if given try: os.makedirs(self.theme_dir + os.path.basename(fn)) except: pass # copy file