dbus/python/tests test-server.py,1.1,1.2
Seth Nickell
seth at pdx.freedesktop.org
Sun May 30 01:21:00 PDT 2004
- Previous message: dbus/python dbus.py,1.7,1.8
- Next message: dbus/python/examples gconf-proxy-service2.py, NONE, 1.1 Makefile.am,
1.2, 1.3 example-service.py, 1.4, 1.5 gconf-proxy-service.py,
1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvs/dbus/dbus/python/tests
In directory pdx:/tmp/cvs-serv3242/python/tests
Modified Files:
test-server.py
Log Message:
2004-05-30 Seth Nickell <seth at gnome.org>
* python/dbus.py:
Add a nicer-but-less-flexible alternate API for handling
calls to virtual objects in dbus.ObjectTree.
Screw up the argument order to the dbus.Object constructor
for consistency with dbus.ObjectTree (and to make dbus_methods
optional for future extension)
* python/examples/Makefile.am:
* python/examples/gconf-proxy-service.py:
* python/examples/gconf-proxy-service2.py:
Alternate implementation of gconf-proxy-service using the
nicer dbus.ObjectTree API.
* python/examples/example-service.py:
* python/tests/test-server.py
Reverse the argument order to deal with dbus.Object constructor
changes.
Index: test-server.py
===================================================================
RCS file: /cvs/dbus/dbus/python/tests/test-server.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- a/test-server.py 30 May 2004 05:30:09 -0000 1.1
+++ b/test-server.py 30 May 2004 08:20:58 -0000 1.2
@@ -4,7 +4,7 @@
class TestObject(dbus.Object):
def __init__(self, service):
method_list = [ self.Echo ]
- dbus.Object.__init__(self, "/TestObject", method_list, service)
+ dbus.Object.__init__(self, "/TestObject", service, method_list)
def Echo(self, variable):
return variable
- Previous message: dbus/python dbus.py,1.7,1.8
- Next message: dbus/python/examples gconf-proxy-service2.py, NONE, 1.1 Makefile.am,
1.2, 1.3 example-service.py, 1.4, 1.5 gconf-proxy-service.py,
1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dbus-commit
mailing list