dbus/python service.py,1.2,1.3
John Palmieri
johnp at freedesktop.org
Sat Jul 16 01:21:47 EST 2005
Update of /cvs/dbus/dbus/python
In directory gabe:/tmp/cvs-serv27299/python
Modified Files:
service.py
Log Message:
* 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
Index: service.py
===================================================================
RCS file: /cvs/dbus/dbus/python/service.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- service.py 13 Jul 2005 18:22:35 -0000 1.2
+++ service.py 15 Jul 2005 15:21:43 -0000 1.3
@@ -151,9 +151,9 @@
"""
__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()
More information about the dbus-commit
mailing list