mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Ran 2to3 on pysollib/winsystems/aqua.py
This commit is contained in:
parent
a090186721
commit
811a154974
1 changed files with 3 additions and 3 deletions
|
@ -21,11 +21,11 @@
|
||||||
#
|
#
|
||||||
# ---------------------------------------------------------------------------##
|
# ---------------------------------------------------------------------------##
|
||||||
|
|
||||||
import Tkinter
|
from six.moves import tkinter
|
||||||
|
|
||||||
from pysollib.settings import TOOLKIT, USE_TILE
|
from pysollib.settings import TOOLKIT, USE_TILE
|
||||||
from pysollib.macosx.appSupport import hideTkConsole
|
from pysollib.macosx.appSupport import hideTkConsole
|
||||||
from common import base_init_root_window, BaseTkSettings
|
from pysollib.winsystems.common import base_init_root_window, BaseTkSettings
|
||||||
if USE_TILE:
|
if USE_TILE:
|
||||||
from pysollib.tile import ttk
|
from pysollib.tile import ttk
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ def init_root_window(root, app):
|
||||||
|
|
||||||
if app.opt.tile_theme == 'aqua':
|
if app.opt.tile_theme == 'aqua':
|
||||||
# standard Tk scrollbars work on OS X, but ttk ones look weird
|
# standard Tk scrollbars work on OS X, but ttk ones look weird
|
||||||
ttk.Scrollbar = Tkinter.Scrollbar
|
ttk.Scrollbar = tkinter.Scrollbar
|
||||||
|
|
||||||
else: # pure Tk
|
else: # pure Tk
|
||||||
# root.option_add(...)
|
# root.option_add(...)
|
||||||
|
|
Loading…
Add table
Reference in a new issue