Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/tawindow.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index 3662ea9..79c0522 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -286,6 +286,10 @@ class TurtleArtWindow():
self._setup_plugins()
def _lazy_init(self, init_palettes=True, load_toolbar_shapes=True):
+ """init_palettes -- whether to initialize the palettes (should always
+ be True in TA)
+ load_toolbar_shapes -- passed on to _setup_misc()
+ """
self._init_plugins()
self._setup_plugins()
self._setup_misc(load_toolbar_shapes=load_toolbar_shapes)
@@ -489,7 +493,10 @@ class TurtleArtWindow():
break
def _setup_misc(self, load_toolbar_shapes=True):
- ''' Misc. sprites for status, overlays, etc. '''
+ ''' Misc. sprites for status, overlays, etc.
+ load_toolbar_shapes -- whether to load the toolbar shapes/ icons if
+ we're not in sugar (should always be True in TA)
+ '''
self.load_media_shapes()
for i, name in enumerate(STATUS_SHAPES):
# Temporary hack to use wider shapes