85
86
87
88
89
90
91
92
93
94
95
96
|
if os.path.exists("%s/%s/gtk-%s.0" % (dir, fn, uikit.ver)):
themes.append(fn)
themes = ["default"] + sorted(themes)
# add to list
for t in themes:
cb.ls.append([t, t])
if conf.theme in themes:
cb.set_default(conf.theme)
else:
cb.set_default("default")
|
|
|
85
86
87
88
89
90
91
92
93
94
95
96
|
if os.path.exists("%s/%s/gtk-%s.0" % (dir, fn, uikit.ver)):
themes.append(fn)
themes = ["default"] + sorted(themes)
# add to list
for t in themes:
cb.ls.append([t, t])
if ("theme" in conf) and (conf.theme in themes):
cb.set_default(conf.theme)
else:
cb.set_default("default")
|