diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-03 18:55:46 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-07-03 18:55:46 (GMT) |
commit | ddecddcb420a9f87b203d0f228c6e41b65af5e53 (patch) | |
tree | 3b5a837df68ce1bb060a08b25b46cb715bda926b /shell/view/keyhandler.py | |
parent | 4df052e5de8a37d694a28bbdb7ce7bf5a9281f41 (diff) |
Remove unused methods from the activity services. Cleanups.
Diffstat (limited to 'shell/view/keyhandler.py')
-rw-r--r-- | shell/view/keyhandler.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/shell/view/keyhandler.py b/shell/view/keyhandler.py index 8a6314e..a3dd27f 100644 --- a/shell/view/keyhandler.py +++ b/shell/view/keyhandler.py @@ -49,7 +49,6 @@ _actions_table = { '0x93' : 'frame', '<alt>o' : 'overlay', '0xE0' : 'overlay', - '0xDC' : 'camera', '0x7C' : 'shutdown', '<alt><shift>s' : 'shutdown', '0xEB' : 'rotate', @@ -149,14 +148,6 @@ class KeyHandler(object): def handle_overlay(self): self._shell.toggle_chat_visibility() - def handle_camera(self): - current_activity = self._shell.get_current_activity() - if current_activity: - if current_activity.execute('camera', []): - return - - self._shell.start_activity('org.laptop.CameraActivity') - def handle_shutdown(self): model = self._shell.get_model() model.props.state = ShellModel.STATE_SHUTDOWN |