Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Commit 83a2176

Browse files
committed
Working
1 parent 2af64cf commit 83a2176

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

src/main.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def cleanup(self):import configparser
3535

3636
from .view import Window, View
3737
from .front import Front
38-
from .splash import Splash
38+
# from .splash import Splash
3939
from . import SETTINGS
4040

4141

@@ -52,20 +52,19 @@ def __init__(self, *args, **kwds):
5252
for name, val in parser['APP'].items():
5353
getattr(self, name)(val)
5454

55-
self.window = Window(self)
56-
self.window.pack(expand=True, fill='both')
57-
self.update()
55+
#self.window = Window(self)
56+
#self.window.pack(expand=True, fill='both')
57+
#elf.update()
5858

59-
self.splash = Splash(self)
59+
# self.splash = Splash(self)
6060
self.front = Front(self)
6161
self.front.pack(fill='both', expand=True)
62-
self.execution_order = iter((
63-
# self.splash,
64-
self.front,
65-
# self.result
66-
))
62+
# self.execution_order = iter((
63+
# # self.splash,
64+
# self.front,
65+
# # self.result
66+
# ))
6767
self.update()
68-
self.switch()
6968

7069
def switch(self):
7170
try:

src/splash.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def init(self):
5252
width = self.winfo_reqwidth()
5353
self.title = View(
5454
self.window,
55-
text=self.master.master.master.title(), # yikes
55+
text=self.master.master.title(), # yikes
5656
font=('Courier', 17),
5757
width=width, justify='center'
5858
)
@@ -94,4 +94,4 @@ def load(self, choices):
9494
val.pack(side='left')
9595

9696
self.title.pack(fill='both', expand=True)
97-
self.choices.pack(fill='both', expand=True)
97+
self.choices.pack(fill='both', expand=True)

0 commit comments

Comments
 (0)