Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TamTam.py
diff options
context:
space:
mode:
authorNat <natcl@hotmail.com>2007-07-26 20:49:46 (GMT)
committer Nat <natcl@hotmail.com>2007-07-26 20:49:46 (GMT)
commit74ac5a33e7dd08282f32d1f5ac33e7913a91d761 (patch)
tree28315c3427536972bdc9824915682f375275c540 /TamTam.py
parent1ca64551ed5fe0b7bf1c0e9bd6ca2d57988ed82c (diff)
Use alt-w in Edit to show Toolbar
Diffstat (limited to 'TamTam.py')
-rwxr-xr-xTamTam.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/TamTam.py b/TamTam.py
index e0f17e5..931b9af 100755
--- a/TamTam.py
+++ b/TamTam.py
@@ -203,13 +203,14 @@ class TamTam(Activity):
return
elif key == 49:#39: s
#self.set_mode('synth')
- self.keyboardWindow.hide_all()
- l = os.spawnlp(os.P_NOWAIT,'/usr/share/activities/TamTam.activity/cnee','/usr/share/activities/TamTam.activity/cnee', '--record', '--keyboard', '--mouse', '--stop-key', 'h', '--out-file', '/home/olpc/test.xnl')
+ #self.keyboardWindow.hide_all()
+ #l = os.spawnlp(os.P_NOWAIT,'/usr/share/activities/TamTam.activity/cnee','/usr/share/activities/TamTam.activity/cnee', '--record', '--keyboard', '--mouse', '--stop-key', 'h', '--out-file', '/home/olpc/test.xnl')
return
- elif key == 10:#25: w
+ elif key == 25: #w
+ self.toolbox.show()
#self.set_mode('welcome')
- self.keyboardWindow.show_all()
- l = os.spawnlp(os.P_NOWAIT,'/usr/share/activities/TamTam.activity/cnee','/usr/share/activities/TamTam.activity/cnee', '--replay', '--keyboard', '--mouse', '--file', '/home/olpc/test.xnl')
+ #self.keyboardWindow.show_all()
+ #l = os.spawnlp(os.P_NOWAIT,'/usr/share/activities/TamTam.activity/cnee','/usr/share/activities/TamTam.activity/cnee', '--replay', '--keyboard', '--mouse', '--file', '/home/olpc/test.xnl')
return
elif key == 53: #x
self.destroy()