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

2to3 on pysollib/tk/[a-z]*.py

This commit is contained in:
Shlomi Fish 2017-05-22 19:56:00 +03:00
parent f768b571ad
commit c967ca64b1
6 changed files with 10 additions and 10 deletions

View file

@ -31,7 +31,7 @@ from pysollib.mygettext import _
from pysollib.mfxutil import KwStruct
# Toolkit imports
from tkwidget import MfxDialog
from .tkwidget import MfxDialog
# ************************************************************************
# *

View file

@ -33,8 +33,8 @@ from pysollib.mygettext import _
from pysollib.mfxutil import Struct
# Toolkit imports
from tkwidget import MfxMessageDialog
from statusbar import HtmlStatusbar
from .tkwidget import MfxMessageDialog
from .statusbar import HtmlStatusbar
from pysollib.ui.tktile.tkhtml import Base_HTMLViewer

View file

@ -46,8 +46,8 @@ from pysollib.settings import TOP_TITLE
# Toolkit imports
from pysollib.ui.tktile.tkutil import bind, loadImage
from tkwidget import MfxDialog, MfxMessageDialog
from tkwidget import MfxScrolledCanvas
from .tkwidget import MfxDialog, MfxMessageDialog
from .tkwidget import MfxScrolledCanvas
# FIXME - this file a quick hack and needs a rewrite

View file

@ -27,7 +27,7 @@ from six.moves import tkinter
# Toolkit imports
from pysollib.ui.tktile.tkutil import bind
from tkwidget import MfxScrolledCanvas
from .tkwidget import MfxScrolledCanvas
# ************************************************************************

View file

@ -36,7 +36,7 @@ from pysollib.winsystems import TkSettings
# Toolkit imports
from pysollib.ui.tktile.tkconst import EVENT_HANDLED
from tkwidget import MfxTooltip
from .tkwidget import MfxTooltip
from pysollib.ui.tktile.menubar import createToolbarMenu, MfxMenu
@ -420,7 +420,7 @@ class PysolToolbarTk:
self.frame.update_idletasks()
def updateText(self, **kw):
for name in kw.keys():
for name in list(kw.keys()):
label = getattr(self, name + "_label")
label["text"] = kw[name]

View file

@ -27,7 +27,7 @@ __all__ = ['WizardDialog']
# imports
import sys
from six.moves import tkinter
from tabpage import TabPageSet
from .tabpage import TabPageSet
# PySol imports
from pysollib.mygettext import _
@ -36,7 +36,7 @@ from pysollib.wizardutil import WizardWidgets
from pysollib.wizardpresets import presets
# Toolkit imports
from tkwidget import MfxDialog
from .tkwidget import MfxDialog
if sys.version_info > (3,):