diff --git a/services/console/console.py b/services/console/console.py index dae34c3d..4fb36095 100755 --- a/services/console/console.py +++ b/services/console/console.py @@ -79,7 +79,7 @@ class Service(dbus.service.Object): self._console = Console() @dbus.service.method(CONSOLE_IFACE) - def toggle_visibility(self): + def ToggleVisibility(self): window = self._console.window if not window.props.visible: window.present() diff --git a/shell/view/keyhandler.py b/shell/view/keyhandler.py index 3b43bd6f..23075d4e 100644 --- a/shell/view/keyhandler.py +++ b/shell/view/keyhandler.py @@ -224,4 +224,4 @@ class KeyHandler(object): proxy = bus.get_object('org.laptop.sugar.Console', '/org/laptop/sugar/Console') console = dbus.Interface(proxy, 'org.laptop.sugar.Console') - console.toggle_visibility() + console.ToggleVisibility()