summaryrefslogtreecommitdiffstats
path: root/python/examples/example-signal-recipient.py
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2005-05-24 00:21:07 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2005-05-24 00:21:07 +0000
commite43a353d27f1b9643c21ccff53a7759fc3dcdffe (patch)
treead51cf8b4ec9801fe11e012b7453ddb52c51ab44 /python/examples/example-signal-recipient.py
parent8af9f11e54317698424bc15ca566e46268646d73 (diff)
* python/decorators.py: import dbus_bindings
* python/matchrules.py (SignalMatchRule, SignalMatchTree, SignalMatchNode): new classes that implement wildcard signal callback matching using a tree lookup. Heavily modified from a patch sent by Celso Pinto (fd.o bug #3241) * _dbus.py (add_signal_receiver, remove_signal_receiver, _signal_func): use new match classes to handle signals.
Diffstat (limited to 'python/examples/example-signal-recipient.py')
-rw-r--r--python/examples/example-signal-recipient.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/examples/example-signal-recipient.py b/python/examples/example-signal-recipient.py
index 1dbf6a65..2f932a9b 100644
--- a/python/examples/example-signal-recipient.py
+++ b/python/examples/example-signal-recipient.py
@@ -12,8 +12,8 @@ def handle_error(e):
def emit_signal():
#call the emitHelloSignal method async
- object.emitHelloSignal(dbus_interface="org.designfu.TestService",
- reply_handler = handle_reply, error_handler = handle_error)
+ object.emitHelloSignal(dbus_interface="org.designfu.TestService")
+ #reply_handler = handle_reply, error_handler = handle_error)
return True
bus = dbus.SessionBus()