diff options
author | Gary Martin <gary@garycmartin.com> | 2009-06-16 00:55:45 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2009-06-16 00:55:45 (GMT) |
commit | 9c177f90b6dca2deac4cec4b49972cf96aaaa0d1 (patch) | |
tree | 293e13a40489c6ace35e2227df1de504a2450eac /activity.py | |
parent | 2e59ac643e22ba262e82514ea02af277715f918a (diff) |
Added accelerators for UI visibility and cleaned up tool key handling event code.
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activity.py b/activity.py index 53c3f00..edf0d8d 100644 --- a/activity.py +++ b/activity.py @@ -34,6 +34,7 @@ class PhysicsActivity(olpcgames.PyGameActivity): button.set_group(None) firstButton = button button.set_tooltip(_(c.toolTip)) + button.set_accelerator(c.toolAccelerator) button.connect('clicked',self.radioClicked) create_toolbar.insert(button,-1) button.show() |