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


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




More information about the dbus-commit mailing list