Skip to content

Commit

Permalink
workaround for different skin
Browse files Browse the repository at this point in the history
  • Loading branch information
madie66 authored and koivo committed Dec 31, 2017
1 parent cf7c3d1 commit 47af4b5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion skin.py
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,10 @@ def loadSingleSkinData(desktop, skin, path_prefix):
if fileExists(resolveFilename(SCOPE_SKIN_IMAGE, filename, path_prefix=path_prefix)):
pngfile = resolveFilename(SCOPE_SKIN_IMAGE, filename, path_prefix=path_prefix)
png = loadPixmap(pngfile, desktop)
style.setPixmap(eWindowStyleSkinned.__dict__[bsName], eWindowStyleSkinned.__dict__[bpName], png)
try:
style.setPixmap(eWindowStyleSkinned.__dict__[bsName], eWindowStyleSkinned.__dict__[bpName], png)
except:
pass
#print " borderset:", bpName, filename
for color in windowstyle.findall("color"):
get_attr = color.attrib.get
Expand Down

0 comments on commit 47af4b5

Please sign in to comment.