Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/keyhandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/view/keyhandler.py')
-rw-r--r--shell/view/keyhandler.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/view/keyhandler.py b/shell/view/keyhandler.py
index 0b8f74c..a47cc71 100644
--- a/shell/view/keyhandler.py
+++ b/shell/view/keyhandler.py
@@ -25,6 +25,7 @@ _actions_table = {
'F10' : 'volume_2',
'F11' : 'volume_3',
'F12' : 'volume_4',
+ '<alt>1' : 'screenshot',
'<alt>F8' : 'color_mode',
'<alt>F5' : 'b_and_w_mode',
'<alt>equal' : 'console',
@@ -114,6 +115,9 @@ class KeyHandler(object):
def handle_color_mode(self):
self._set_display_mode(hardwaremanager.COLOR_MODE)
+ def handle_screenshot(self):
+ self._shell.take_screenshot()
+
def handle_b_and_w_mode(self):
self._set_display_mode(hardwaremanager.B_AND_W_MODE)