From d82c425043a27ad50133b0e276d936b90366b700 Mon Sep 17 00:00:00 2001 From: brianl Date: Thu, 1 Feb 2007 09:56:20 +0000 Subject: [PATCH] * 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 --- pysollib/macosx/appSupport.py | 2 -- pysollib/winsystems/aqua.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pysollib/macosx/appSupport.py b/pysollib/macosx/appSupport.py index b152f578..ce8cb090 100644 --- a/pysollib/macosx/appSupport.py +++ b/pysollib/macosx/appSupport.py @@ -20,6 +20,4 @@ def setupApp(app): Perform setup for the OSX application bundle. """ if not runningAsOSXApp(): return - hideTkConsole(app.top) - #overrideRootMenu(root, flist) diff --git a/pysollib/winsystems/aqua.py b/pysollib/winsystems/aqua.py index fcbb507a..3791486c 100644 --- a/pysollib/winsystems/aqua.py +++ b/pysollib/winsystems/aqua.py @@ -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