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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [a7c8985f62]

Overview
Comment:Clear up .so files completely on Linux if failed to install.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a7c8985f6251a986bea4ab977f2e3d2044eed5b4
User & Date: Oliver on 2016-12-26 15:24:20
Other Links: manifest | tags
Context
2016-12-26
15:25
replace backslashes for VLC on `not conf.windows` check-in: 3d0eb6eed6 user: Oliver tags: trunk
15:24
Clear up .so files completely on Linux if failed to install. check-in: a7c8985f62 user: Oliver tags: trunk
2016-12-24
20:18
Make record-stop button a distributed plugin. check-in: 096b121dee user: mario tags: trunk
Changes

Modified contrib/theme_installer.py from [6f23360bad] to [3560b83269].

178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
                    except Exception as e: #access denied - either 'file in use'
                        if not os.path.exists(gtk_dir + "/" + fn): # or missing file system rights
                            log.THEME_INSTALL("Copy Gtk theme engine error ", e)
                            self.parent.status('<span background="orange">â›” Set theme unsuccessful. - Check access rights!</span>', timeout=22, markup=1)
                            self.clear_theme(ls, dll)
                            return
            else:
		if conf.windows:
		  log.THEME_INSTALL("Copy Gtk theme engine error, gtk_dir= " + gtk_dir)
		  self.parent.status('<span background="orange">â›” Set theme unsuccessful. - Check ' + gtk_dir + '</span>', timeout=22, markup=1)
		  self.clear_theme(ls, dll)
		  return

        # enable
        if dll and conf.windows:
            self.clear_dll(dll)
            
        conf.theme = base[0]
        self.apply_theme(True)
        conf.save()

    # delete theme files if application failed







|
|
|
|
|


|







178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
                    except Exception as e: #access denied - either 'file in use'
                        if not os.path.exists(gtk_dir + "/" + fn): # or missing file system rights
                            log.THEME_INSTALL("Copy Gtk theme engine error ", e)
                            self.parent.status('<span background="orange">â›” Set theme unsuccessful. - Check access rights!</span>', timeout=22, markup=1)
                            self.clear_theme(ls, dll)
                            return
            else:
                if conf.windows:
                    log.THEME_INSTALL("Copy Gtk theme engine error, gtk_dir= " + gtk_dir)
                    self.parent.status('<span background="orange">â›” Set theme unsuccessful. - Check ' + gtk_dir + '</span>', timeout=22, markup=1)
                    self.clear_theme(ls, dll)
                    return

        # enable
        if dll: 
            self.clear_dll(dll)
            
        conf.theme = base[0]
        self.apply_theme(True)
        conf.save()

    # delete theme files if application failed