Пример #1
0
def loadSkinReal(skinPath):
    if os.path.exists(skinPath):
        print "[Widgets] Loading skin ", skinPath
        for skin in dom_skins:
        	print "skin",skin
        		
        	if skin[0] == skinPath.replace("skin.xml",""):
        		dom_skins.remove(skin)
        loadSkin(skinPath)
Пример #2
0
def loadSkinReal(skinPath):
    if os.path.exists(skinPath):
        print("[Widgets] Loading skin ", skinPath)
        for skin in dom_skins:
        	print("skin", skin)

        	if skin[0] == skinPath.replace("skin.xml", ""):
        		dom_skins.remove(skin)
        loadSkin(skinPath)