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:
parent
c4bc13a7a3
commit
d82c425043
2 changed files with 1 additions and 3 deletions
|
@ -20,6 +20,4 @@ def setupApp(app):
|
||||||
Perform setup for the OSX application bundle.
|
Perform setup for the OSX application bundle.
|
||||||
"""
|
"""
|
||||||
if not runningAsOSXApp(): return
|
if not runningAsOSXApp(): return
|
||||||
|
|
||||||
hideTkConsole(app.top)
|
hideTkConsole(app.top)
|
||||||
#overrideRootMenu(root, flist)
|
|
||||||
|
|
|
@ -32,11 +32,11 @@ class initRootWindow(baseInitRootWindow):
|
||||||
def __init__(self, root, app):
|
def __init__(self, root, app):
|
||||||
baseInitRootWindow.__init__(self, root, app)
|
baseInitRootWindow.__init__(self, root, app)
|
||||||
if TOOLKIT == 'tk':
|
if TOOLKIT == 'tk':
|
||||||
#setupApp(app)
|
|
||||||
hideTkConsole(root)
|
hideTkConsole(root)
|
||||||
if TOOLKIT == 'gtk':
|
if TOOLKIT == 'gtk':
|
||||||
pass
|
pass
|
||||||
elif USE_TILE:
|
elif USE_TILE:
|
||||||
|
style = Tile.Style(root)
|
||||||
color = style.lookup('.', 'background')
|
color = style.lookup('.', 'background')
|
||||||
if color:
|
if color:
|
||||||
root.tk_setPalette(color) # for non-Tile widgets
|
root.tk_setPalette(color) # for non-Tile widgets
|
||||||
|
|
Loading…
Add table
Reference in a new issue