Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tawindow.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2009-04-06 21:14:20 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2009-04-06 21:14:20 (GMT)
commit2779377c1e55a8decda4cd3bb3070f98e43f12ae (patch)
tree5b89a7074652ba10d263df236fbb5aa2024e0041 /tawindow.py
parente9c4dc1e44ffcf49191d534d3b034c4d93823857 (diff)
added shortcut for exiting from non-Sugar desktop
Diffstat (limited to 'tawindow.py')
-rw-r--r--tawindow.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tawindow.py b/tawindow.py
index 1a66965..922b347 100644
--- a/tawindow.py
+++ b/tawindow.py
@@ -501,6 +501,8 @@ def key_press(tw, alt_mask, keyname, verbose=False):
tw.activity._send_event("i") # request sync for sharing
elif keyname=="p":
hideshow_button(tw)
+ elif keyname=='q':
+ exit()
return True
if tw.selected_block==None:
return False