From a7595655fb892b4ecab852aeb971cf53bdff09cc Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Fri, 15 Jul 2005 15:21:43 +0000 Subject: * 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 --- python/service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/service.py b/python/service.py index b7504dca..18a2c81b 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() -- cgit