File dbus-sharp-signal-dispatch.patch of Package dbus-sharp

=== modified file 'src/BusObject.cs'
--- src/BusObject.cs	2010-10-03 15:19:44 +0000
+++ src/BusObject.cs	2011-10-04 16:18:08 +0000
@@ -56,7 +56,10 @@
 			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))

=== modified file 'src/Connection.cs'
--- src/Connection.cs	2010-10-03 15:19:44 +0000
+++ src/Connection.cs	2011-10-04 16:18:08 +0000
@@ -272,7 +272,7 @@
 			rule.MessageType = MessageType.Signal;
 			rule.Fields.Add (FieldCode.Interface, new MatchTest (signal.Interface));
 			rule.Fields.Add (FieldCode.Member, new MatchTest (signal.Member));
-			rule.Fields.Add (FieldCode.Sender, new MatchTest (signal.Sender));
+			//rule.Fields.Add (FieldCode.Sender, new MatchTest (signal.Sender));
 			rule.Fields.Add (FieldCode.Path, new MatchTest (signal.Path));
 
 			Delegate dlg;
openSUSE Build Service is sponsored by