Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TurtleArt/talogo.py3
-rw-r--r--TurtleArt/tawindow.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/TurtleArt/talogo.py b/TurtleArt/talogo.py
index 71561de..7b84e9e 100644
--- a/TurtleArt/talogo.py
+++ b/TurtleArt/talogo.py
@@ -155,8 +155,7 @@ class LogoCode:
def stop_logo(self):
""" Stop logo is called from the Stop button on the toolbar """
self.step = _just_stop()
- for plugin in self.tw._plugins:
- plugin.stop()
+ self.tw.stop_plugins()
if self.tw.gst_available:
from tagplay import stop_media
stop_media(self)
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index 32e672b..019b345 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -368,7 +368,7 @@ class TurtleArtWindow():
for plugin in self.turtleart_plugins:
plugin.start()
- def _stop_plugins(self):
+ def stop_plugins(self):
''' Stop is called whenever we stop execution. '''
for plugin in self.turtleart_plugins:
plugin.stop()