diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-04 20:37:17 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-09-04 20:37:17 (GMT) |
commit | f40485aad433138da6c616f5baef0b04335d9ce6 (patch) | |
tree | 8e198a3c04562b3f3d4e27431e0ff1eceaf4e059 | |
parent | 693b14f3c9e6a1bd63595cccaf451e08250da7a3 (diff) |
Handle F6 in sugar
-rwxr-xr-x | shell/Shell.py | 3 | ||||
-rw-r--r-- | shell/data/kbdconfig | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/shell/Shell.py b/shell/Shell.py index 7b47026..848971b 100755 --- a/shell/Shell.py +++ b/shell/Shell.py @@ -57,6 +57,7 @@ class Shell(gobject.GObject): self._key_grabber.grab('F3') self._key_grabber.grab('F4') self._key_grabber.grab('F5') + self._key_grabber.grab('F6') self._home_window = HomeWindow(self) self._home_window.show() @@ -95,6 +96,8 @@ class Shell(gobject.GObject): self.set_zoom_level(sugar.ZOOM_MESH) elif key == 'F5': self._frame.toggle_visibility() + elif key == 'F6': + ActivityFactory.create('org.sugar.Terminal') def set_console(self, console): self._console = console diff --git a/shell/data/kbdconfig b/shell/data/kbdconfig index 9d9a449..415c69f 100644 --- a/shell/data/kbdconfig +++ b/shell/data/kbdconfig @@ -5,4 +5,3 @@ <Alt>n=next <Alt>p=prev <Alt>c=close -f6=!sugar-activity org.sugar.Terminal |