From 5a2511b8dd9a69871e8abbfd184f9acc3c433f3e Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Fri, 18 Jan 2013 15:35:16 +0000 Subject: change behavior in stop of gnome menu --- diff --git a/turtleblocks.py b/turtleblocks.py index df8c436..71e1506 100755 --- a/turtleblocks.py +++ b/turtleblocks.py @@ -572,11 +572,10 @@ class TurtleMain(): def _do_stop_cb(self, widget): ''' Callback for stop button. ''' - if not self.tw.hide and not self.tw.running_blocks: - self.tw.hideblocks() - else: - self.tw.showblocks() + if self.tw.running_blocks: self.tw.toolbar_shapes['stopiton'].hide() + if self.tw.hide: + self.tw.showblocks() self.tw.stop_button() self.tw.display_coordinates() -- cgit v0.9.1