diff options
author | Seth Nickell <seth@gnome.org> | 2004-07-11 03:02:14 +0000 |
---|---|---|
committer | Seth Nickell <seth@gnome.org> | 2004-07-11 03:02:14 +0000 |
commit | 233f8d0e33c3417c4c9abe2790fc949df19b879d (patch) | |
tree | 5904dbc2314c7635dea745e0a999550c320cd9b5 /python/examples/gconf-proxy-service2.py | |
parent | 3d0f1fb1b62a3ee9a897f3ca7422e5f5be4716a0 (diff) |
2004-07-10 Seth Nickell <seth@gnome.org>
* python/dbus.py:
Add "message" argument to service-side dbus.Object
methods. This will break existing services written
using the python bindings, but will allow extraction
of all the message information (e.g. who its from).
Add improved "object oriented" signal handling/emission.
* python/examples/example-service.py:
Nix this example.
* python/examples/example-signal-emitter.py:
* python/examples/example-signal-recipient.py:
Two new examples that show how to emit and receive
signals using the new APIs.
* python/examples/example-signals.py:
* python/examples/gconf-proxy-service.py:
* python/examples/gconf-proxy-service2.py:
Add "message" argument to service methods.
Diffstat (limited to 'python/examples/gconf-proxy-service2.py')
-rw-r--r-- | python/examples/gconf-proxy-service2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/gconf-proxy-service2.py b/python/examples/gconf-proxy-service2.py index 4cec8605..5ba77db7 100644 --- a/python/examples/gconf-proxy-service2.py +++ b/python/examples/gconf-proxy-service2.py @@ -16,7 +16,7 @@ class GConfService(dbus.Service): self.client = gconf.client_get_default() - def object_method_called(self, object_path, method_name, argument_list): + def object_method_called(self, message, object_path, method_name, argument_list): print ("Method %s called on GConf key %s" % (method_name, object_path)) if "getString" == method_name: |