dbus/python Makefile.am, 1.18, 1.18.2.1 _dbus.py, 1.11,
1.11.2.1 proxies.py, 1.6, 1.6.2.1
John Palmieri
johnp at freedesktop.org
Wed Aug 24 09:01:11 PDT 2005
Update of /cvs/dbus/dbus/python
In directory gabe:/tmp/cvs-serv27296/python
Modified Files:
Tag: DBUS_0_36_1
Makefile.am _dbus.py proxies.py
Log Message:
* Release 0.36.1
* python/_dbus.py:
(Interface::connect_to_signal): propigate keywords for match on args
(Bus::add_signal_receiver): Fix typo s/dbus_inteface/dbus_interface
* python/proxies.py (ProxyObject::connect_to_signal):
propigate keywords for match on args
* Makefile.am: point everything to pyexecdir since python borks
on multilib
Index: Makefile.am
===================================================================
RCS file: /cvs/dbus/dbus/python/Makefile.am,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -d -r1.18 -r1.18.2.1
--- Makefile.am 18 Aug 2005 20:57:28 -0000 1.18
+++ Makefile.am 24 Aug 2005 16:01:09 -0000 1.18.2.1
@@ -5,7 +5,7 @@
dbusmoduledir = $(pyexecdir)
dbusmodule_PYTHON = dbus.pth
-dbusdir = $(pythondir)/dbus
+dbusdir = $(pyexecdir)/dbus
dbus_PYTHON = __init__.py _dbus.py decorators.py exceptions.py service.py proxies.py _util.py types.py matchrules.py glib.py
dbusbindingsdir = $(pyexecdir)/dbus
Index: _dbus.py
===================================================================
RCS file: /cvs/dbus/dbus/python/_dbus.py,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -d -r1.11 -r1.11.2.1
--- _dbus.py 18 Aug 2005 04:04:57 -0000 1.11
+++ _dbus.py 24 Aug 2005 16:01:09 -0000 1.11.2.1
@@ -126,7 +126,7 @@
def add_signal_receiver(self, handler_function,
signal_name=None,
- dbus_inteface=None,
+ dbus_interface=None,
named_service=None,
path=None,
**keywords):
@@ -149,7 +149,7 @@
dbus_bindings.bus_add_match(self._connection, repr(match_rule))
def remove_signal_receiver(self, handler_function,
- signal_name=None,
+ signal_name=None,
dbus_interface=None,
named_service=None,
path=None,
@@ -166,8 +166,8 @@
if (args_dict):
match_rule.add_args_match(args_dict)
- if (handler_function):
- match_rule.add_handler(handler_function)
+ if (handler_function):
+ match_rule.add_handler(handler_function)
self._match_rule_tree.remove(match_rule)
@@ -224,11 +224,11 @@
self._obj = object
self._dbus_interface = dbus_interface
- def connect_to_signal(self, signal_name, handler_function, dbus_interface = None):
+ def connect_to_signal(self, signal_name, handler_function, dbus_interface = None, **keywords):
if not dbus_interface:
dbus_interface = self._dbus_interface
- self._obj.connect_to_signal(signal_name, handler_function, dbus_interface)
+ self._obj.connect_to_signal(signal_name, handler_function, dbus_interface, **keywords)
def __getattr__(self, member, **keywords):
if (keywords.has_key('dbus_interface')):
Index: proxies.py
===================================================================
RCS file: /cvs/dbus/dbus/python/proxies.py,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- proxies.py 16 Aug 2005 22:54:04 -0000 1.6
+++ proxies.py 24 Aug 2005 16:01:09 -0000 1.6.2.1
@@ -105,12 +105,13 @@
(result, self._pending_introspect) = self._Introspect()
- def connect_to_signal(self, signal_name, handler_function, dbus_interface=None):
+ def connect_to_signal(self, signal_name, handler_function, dbus_interface=None, **keywords):
self._bus.add_signal_receiver(handler_function,
signal_name=signal_name,
dbus_interface=dbus_interface,
named_service=self._named_service,
- path=self._object_path)
+ path=self._object_path,
+ **keywords)
def _Introspect(self):
message = dbus_bindings.MethodCall(self._object_path, 'org.freedesktop.DBus.Introspectable', 'Introspect')
More information about the dbus-commit
mailing list