[Pkg-cli-libs-commits] [SCM] dbus-sharp branch, master, updated. debian/0.7.0-3-3-gf5f7dec

Christopher James Halse Rogers raof at ubuntu.com
Tue Oct 4 06:41:26 UTC 2011


The following commit has been merged in the master branch:
commit a38d3db4c5c72376feefad02f3efe77046f12804
Author: Jérémie Laval <jeremie.laval at gmail.com>
Date:   Fri Dec 10 15:03:12 2010 +0000

    Disable broken matching on sender for signals. Fix issue #8.
    (cherry picked from commit 608328ba1e0ccc8d0387c244793b229bcc184648)

diff --git a/src/BusObject.cs b/src/BusObject.cs
index e12207e..fe32b72 100644
--- a/src/BusObject.cs
+++ b/src/BusObject.cs
@@ -56,7 +56,10 @@ namespace DBus
 			rule.Fields.Add (FieldCode.Interface, new MatchTest (iface));
 			rule.Fields.Add (FieldCode.Member, new MatchTest (member));
 			rule.Fields.Add (FieldCode.Path, new MatchTest (object_path));
-			rule.Fields.Add (FieldCode.Sender, new MatchTest (alt_bus_name ?? bus_name));
+			// FIXME: Cause a regression compared to 0.6 as name wasn't matched before
+			// the problem arises because busname is not used by DBus daemon and
+			// instead it uses the canonical name of the sender (i.e. similar to ':1.13')
+			//rule.Fields.Add (FieldCode.Sender, new MatchTest (alt_bus_name ?? bus_name));
 
 			if (adding) {
 				if (conn.Handlers.ContainsKey (rule))

-- 
dbus-sharp



More information about the Pkg-cli-libs-commits mailing list