1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

* Tlie.py: fixed broken compatible with Tile < 0.8

git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@176 39dd0a4e-7c14-0410-91b3-c4f2d318f732
This commit is contained in:
skomoroh 2007-06-18 21:16:31 +00:00
parent f16e7dc60d
commit fbb1e8b4d7
2 changed files with 3 additions and 4 deletions

View file

@ -784,13 +784,10 @@ class Application:
self.images = None
self.subsampled_images = None
self.gimages = Struct( # global images
border = [],
demo = [], # demo logos
pause = [], # pause logos
logos = [],
redeal = [],
##shade = [],
##stats = [],
)
#self.progress_bg = None
self.progress_images = []

View file

@ -23,7 +23,9 @@ def availableThemes(root=None):
def setTheme(root=None, theme=None):
if root is None:
root = Tkinter._default_root
return root.tk.call(_tile_prefix+"setTheme", theme)
if TileVersion >= '0.8':
return root.tk.call("ttk::setTheme", theme)
return root.tk.call("tile::setTheme", theme)
class Style(Tkinter.Misc):