summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-01-21 13:22:06 +0000
committerPacho Ramos <pacho@gentoo.org>2012-01-21 13:22:06 +0000
commit6bf0805b61619b42031db25da3f6a22c0e606134 (patch)
treef27c1d835d5433c7789fd56387384c08477b54d5 /dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch
parentDrop old. (diff)
downloadgentoo-2-6bf0805b61619b42031db25da3f6a22c0e606134.tar.gz
gentoo-2-6bf0805b61619b42031db25da3f6a22c0e606134.tar.bz2
gentoo-2-6bf0805b61619b42031db25da3f6a22c0e606134.zip
Fix signals not being passed to tomboy properly, bug #387097 by Hans de Graaff.
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch')
-rw-r--r--dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch
new file mode 100644
index 000000000000..934d7630d164
--- /dev/null
+++ b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch
@@ -0,0 +1,28 @@
+From 608328ba1e0ccc8d0387c244793b229bcc184648 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Laval?= <jeremie.laval@gmail.com>
+Date: Fri, 10 Dec 2010 15:03:12 +0000
+Subject: [PATCH] Disable broken matching on sender for signals. Fix issue #8.
+
+---
+ src/BusObject.cs | 5 ++++-
+ 1 files changed, 4 insertions(+), 1 deletions(-)
+
+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 @@ public void ToggleSignal (string iface, string member, Delegate dlg, bool adding
+ 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))
+--
+1.7.5.4
+