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:
authorMarco Pesenti Gritti <mpg@redhat.com>2007-09-30 23:25:35 (GMT)
committer Marco Pesenti Gritti <mpg@redhat.com>2007-09-30 23:25:35 (GMT)
commitf0afda2e306ee50e5a486a9e804fefa43e84c8e3 (patch)
tree95ca5ff87bbd57f30bace732a8c32d02b96c3323 /shell/view/keyhandler.py
parent1be27d4b4aac890d3db22223237fdbdebc83883c (diff)
"Moved" the new console work on a branch.
Diffstat (limited to 'shell/view/keyhandler.py')
-rw-r--r--shell/view/keyhandler.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/shell/view/keyhandler.py b/shell/view/keyhandler.py
index 971c8a6..a463a75 100644
--- a/shell/view/keyhandler.py
+++ b/shell/view/keyhandler.py
@@ -25,7 +25,6 @@ import gtk
from hardware import hardwaremanager
from model.shellmodel import ShellModel
from sugar._sugaruiext import KeyGrabber
-import console
_BRIGHTNESS_STEP = 2
_VOLUME_STEP = 10
@@ -48,7 +47,6 @@ _actions_table = {
'<alt>1' : 'screenshot',
'<alt>equal' : 'console',
'<alt>0' : 'console',
- '<alt>9' : 'new_console',
'<alt>f' : 'frame',
'0x93' : 'frame',
'<alt>o' : 'overlay',
@@ -147,9 +145,6 @@ class KeyHandler(object):
def handle_console(self):
gobject.idle_add(self._toggle_console_visibility_cb)
- def handle_new_console(self):
- self._shell.toggle_console_visibility()
-
def handle_frame(self):
self._shell.get_frame().notify_key_press()
@@ -222,5 +217,5 @@ class KeyHandler(object):
bus = dbus.SessionBus()
proxy = bus.get_object('org.laptop.sugar.Console',
'/org/laptop/sugar/Console')
- console_service = dbus.Interface(proxy, 'org.laptop.sugar.Console')
- console_service.ToggleVisibility()
+ console = dbus.Interface(proxy, 'org.laptop.sugar.Console')
+ console.ToggleVisibility()