Index: contrib/theme_installer.py
==================================================================
--- contrib/theme_installer.py
+++ contrib/theme_installer.py
@@ -180,18 +180,18 @@
log.THEME_INSTALL("Copy Gtk theme engine error ", e)
self.parent.status('⛔ Set theme unsuccessful. - Check access rights!', 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('⛔ Set theme unsuccessful. - Check ' + gtk_dir + '', timeout=22, markup=1)
- self.clear_theme(ls, dll)
- return
+ if conf.windows:
+ log.THEME_INSTALL("Copy Gtk theme engine error, gtk_dir= " + gtk_dir)
+ self.parent.status('⛔ Set theme unsuccessful. - Check ' + gtk_dir + '', timeout=22, markup=1)
+ self.clear_theme(ls, dll)
+ return
# enable
- if dll and conf.windows:
+ if dll:
self.clear_dll(dll)
conf.theme = base[0]
self.apply_theme(True)
conf.save()