[sugar] [PATCH] services/presence: Stop using deprecated keyword argument named_service
Simon McVittie
simon.mcvittie
Wed May 16 06:32:18 EDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- ---
services/presence/psutils.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/services/presence/psutils.py b/services/presence/psutils.py
index 73a5315..4d6ae3d 100644
- --- a/services/presence/psutils.py
+++ b/services/presence/psutils.py
@@ -118,13 +118,13 @@ class IP4AddressMonitor(gobject.GObject):
match = sys_bus.add_signal_receiver(self._nm_device_no_longer_active_cb,
signal_name="DeviceNoLongerActive",
dbus_interface=NM_IFACE,
- - named_service=NM_SERVICE)
+ bus_name=NM_SERVICE)
self._matches.append(match)
match = sys_bus.add_signal_receiver(self._nm_state_change_cb,
signal_name="StateChange",
dbus_interface=NM_IFACE,
- - named_service=NM_SERVICE)
+ bus_name=NM_SERVICE)
self._matches.append(match)
state = self._nm_obj.state()
- --
1.5.2-rc2.GIT
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net
iD8DBQFGSt2yWSc8zVUw7HYRAlxzAJ4xZjdwt/euP5a98XHCfuVm2YWQ4QCgrep1
YKkHcTHnewZ7ZvUzA1nH2Wg=
=81H8
-----END PGP SIGNATURE-----
More information about the Sugar-devel
mailing list