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: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@136 efabe8c0-fbe8-4139-b769-b5e6d273206e
This commit is contained in:
brianl 2007-02-01 09:56:20 +00:00
parent c4bc13a7a3
commit d82c425043
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