[patch][python] In watch_name_owner, only watch the desired name

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Jun 12 06:34:34 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oops!

- From dbfb6d7b676d22dc98c3ef88071a9deeffa79648 Mon Sep 17 00:00:00 2001
From: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue, 12 Jun 2007 14:27:39 +0100
Subject: [PATCH] dbus.bus: In watch_name_owner, only watch the desired name!

- ---
 dbus/bus.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dbus/bus.py b/dbus/bus.py
index d7352be..da56a32 100644
- --- a/dbus/bus.py
+++ b/dbus/bus.py
@@ -68,7 +68,8 @@ class NameOwnerWatch(object):
                                                    'NameOwnerChanged',
                                                    BUS_DAEMON_IFACE,
                                                    BUS_DAEMON_NAME,
- -                                                   BUS_DAEMON_PATH)
+                                                   BUS_DAEMON_PATH,
+                                                   arg0=bus_name)
         self._pending_call = bus_conn.call_async(BUS_DAEMON_NAME,
                                                  BUS_DAEMON_PATH,
                                                  BUS_DAEMON_IFACE,
- -- 
1.5.2.1

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net

iD8DBQFGbqDqWSc8zVUw7HYRAsQ7AJ9d/TUehU5sXT99NBfG07F+zk5ckwCg327q
AKvRS5p+sDLwwGKuB18LUWE=
=ozmw
-----END PGP SIGNATURE-----


More information about the dbus mailing list