diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-08-20 13:15:44 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-08-20 13:15:44 (GMT) |
commit | 1ba5cddaa3f6e6c1963172d8701bae774973e8f8 (patch) | |
tree | 1ec7b945476b3cc351020f66f2621db4bb30c37d | |
parent | 33094dfa504eb3279d52b0fbcd207d4a9faed09f (diff) |
Use CamelCase for dbus methods.
-rwxr-xr-x | services/console/console.py | 2 | ||||
-rw-r--r-- | shell/view/keyhandler.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/services/console/console.py b/services/console/console.py index dae34c3..4fb3609 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 3b43bd6..23075d4 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() |