Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/turtleblocks.py
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-11-08 20:39:19 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-11-08 20:39:19 (GMT)
commit4feae65e6fdd83f5ef3a395e6cd2f535ca6c1653 (patch)
treedadfaf6f39fa9c9d0435a53ff51901a035b04559 /turtleblocks.py
parent9472d894ad5dbaa1f111b4532c2dc86bfa34fed9 (diff)
move complete flag to where it will be seen
Diffstat (limited to 'turtleblocks.py')
-rwxr-xr-xturtleblocks.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/turtleblocks.py b/turtleblocks.py
index b508c5b..663db59 100755
--- a/turtleblocks.py
+++ b/turtleblocks.py
@@ -95,7 +95,6 @@ class TurtleMain():
# Outputing to file, so no need for a canvas
self.canvas = None
self._build_window(interactive=False)
- self.init_complete = True
self._draw_and_quit()
else:
self._read_initial_pos()
@@ -104,7 +103,6 @@ class TurtleMain():
self._build_window()
self._run_gnome_plugins()
self._start_gtk()
- self.init_complete = True
def get_config_home(self):
return CONFIG_HOME
@@ -168,6 +166,7 @@ class TurtleMain():
''' Get a main window set up. '''
self.win.connect('configure_event', self.tw.update_overlay_position)
self.tw.parent = self.win
+ self.init_complete = True
if self._ta_file is None:
self.tw.load_start()
else: