diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-11-11 21:56:13 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-11-11 21:56:13 (GMT) |
commit | 0d93925aa8f043fbefa0e46d7cab48deac30dda3 (patch) | |
tree | 7de29984ce144e592fa3c7af1ac2df1b1be2f863 /TurtleArt | |
parent | 6c5b32e1354e678d3a75798c2772718dfc466150 (diff) |
Alan's fix to my blocks palette name
Diffstat (limited to 'TurtleArt')
-rw-r--r-- | TurtleArt/tawindow.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index 6ca07d6..f96a178 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -1627,9 +1627,9 @@ before making changes to your program')) self._restore_from_trash(find_top_block(blk)) elif blk.type == 'proto': if self.deleting_blocks: - if 'my blocks' in palette_names and \ + if 'myblocks' in palette_names and \ self.selected_palette == \ - palette_names.index('my blocks'): + palette_names.index('myblocks'): self._delete_stack_alert(blk) self.parent.get_window().set_cursor( gtk.gdk.Cursor(gtk.gdk.LEFT_PTR)) @@ -1838,7 +1838,7 @@ before making changes to your program')) error_output('Could not remove macro %s: %s' % (macro_path, e)) return - i = palette_names.index('my blocks') + i = palette_names.index('myblocks') palette_blocks[i].remove(blk.name) for pblk in self.palettes[i]: if pblk.name == blk.name: |