Ticket #2050: hack-accelerators.patch

File hack-accelerators.patch, 485 bytes (added by rgs, 11 years ago)

the attached patch makes ctrl-{c,v} by expanding/un-expanding the edit toolbar on startup

  • TurtleArtActivity.py

    diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py
    index c0ec3fd..bc040e1 100644
    a b class TurtleArtActivity(activity.Activity): 
    879879        toolbox.show()
    880880
    881881        if self.new_sugar_system:
     882            edit_toolbar_button.set_expanded(True)
     883            edit_toolbar_button.set_expanded(False)
    882884            palette_toolbar_button.set_expanded(True)
    883885        else:
    884886            toolbox.set_current_toolbar(1)