diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-10-31 01:41:41 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-10-31 01:41:41 (GMT) |
commit | 5d2e211ec8bf54a984b803f90a4de7f9a6bd1fbd (patch) | |
tree | 49f6bec2f1ee2123d3803d5f510a2bccd69421ef /TurtleArt/tawindow.py | |
parent | e50238b2ac237647e3df222a853133ea0fb4bd73 (diff) |
make start_plugins a public method
Diffstat (limited to 'TurtleArt/tawindow.py')
-rw-r--r-- | TurtleArt/tawindow.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index 1f9a622..5d8f715 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -422,7 +422,7 @@ class TurtleArtWindow(): # If setup fails, remove the plugin from the list self.turtleart_plugins.remove(plugin) - def _start_plugins(self): + def start_plugins(self): ''' Start is called everytime we execute blocks. ''' for plugin in self.turtleart_plugins: if hasattr(plugin, 'start'): @@ -3190,7 +3190,7 @@ before making changes to your program')) if self.canvas.cr_svg is None: self.canvas.setup_svg_surface() self.running_blocks = True - self._start_plugins() # Let the plugins know we are running. + self.start_plugins() # Let the plugins know we are running. top = find_top_block(blk) code = self.lc.generate_code(top, self.just_blocks()) self.lc.run_blocks(code) |