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

* added missing Tile.Style instance for aqua winsystem

- pruned some dead code from macosx app support


git-svn-id: https://pysolfc.svn.sourceforge.net/svnroot/pysolfc/PySolFC/trunk@136 39dd0a4e-7c14-0410-91b3-c4f2d318f732
This commit is contained in:
brianl 2007-02-01 09:56:20 +00:00
parent 9dc3e194af
commit 22693f6a28
2 changed files with 1 additions and 3 deletions

View file

@ -20,6 +20,4 @@ def setupApp(app):
Perform setup for the OSX application bundle.
"""
if not runningAsOSXApp(): return
hideTkConsole(app.top)
#overrideRootMenu(root, flist)

View file

@ -32,11 +32,11 @@ class initRootWindow(baseInitRootWindow):
def __init__(self, root, app):
baseInitRootWindow.__init__(self, root, app)
if TOOLKIT == 'tk':
#setupApp(app)
hideTkConsole(root)
if TOOLKIT == 'gtk':
pass
elif USE_TILE:
style = Tile.Style(root)
color = style.lookup('.', 'background')
if color:
root.tk_setPalette(color) # for non-Tile widgets