From 5d2e211ec8bf54a984b803f90a4de7f9a6bd1fbd Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 31 Oct 2013 01:41:41 +0000 Subject: make start_plugins a public method --- (limited to 'TurtleArt/tawindow.py') 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) -- cgit v0.9.1