diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2005-07-15 15:21:43 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2005-07-15 15:21:43 +0000 |
commit | d593c56f383ecc27d3db883508dfa28402c7b65b (patch) | |
tree | 8d0651d3aac58a1411e9703922a3481ff239fb31 /python | |
parent | 8763dab258736786c27cf09d895b3a9252e6857a (diff) |
* bus/dispatch.c, test/test-service.c: Add testcase
for sending messages to oneself (TODO item).
* python/service.py (class Object): Swap ordering of bus_name
and object_path parameters to better support inheritance.
* doc/dbus-tutorial.xml: change Python docs to reflect change
in parameter ordering and fix the inheritance section.
* doc/TODO: remove sending message to oneself TODO item
Diffstat (limited to 'python')
-rw-r--r-- | python/service.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/service.py b/python/service.py index b7504dc..18a2c81 100644 --- a/python/service.py +++ b/python/service.py @@ -151,9 +151,9 @@ class Object: """ __metaclass__ = ObjectType - def __init__(self, object_path, name): + def __init__(self, bus_name, object_path): self._object_path = object_path - self._name = name + self._name = bus_name self._bus = name.get_bus() self._connection = self._bus.get_connection() |