From f40485aad433138da6c616f5baef0b04335d9ce6 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 4 Sep 2006 22:37:17 +0200 Subject: [PATCH] Handle F6 in sugar --- shell/Shell.py | 3 +++ shell/data/kbdconfig | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/shell/Shell.py b/shell/Shell.py index 7b47026a..848971b2 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 9d9a449f..415c69ff 100644 --- a/shell/data/kbdconfig +++ b/shell/data/kbdconfig @@ -5,4 +5,3 @@ n=next p=prev c=close -f6=!sugar-activity org.sugar.Terminal