diff options
Diffstat (limited to 'python/examples/example-signal-emitter.py')
-rw-r--r-- | python/examples/example-signal-emitter.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/examples/example-signal-emitter.py b/python/examples/example-signal-emitter.py index edabfd70..bcd5ad6f 100644 --- a/python/examples/example-signal-emitter.py +++ b/python/examples/example-signal-emitter.py @@ -3,7 +3,7 @@ import gtk class TestObject(dbus.Object): def __init__(self, service): - dbus.Object.__init__(self, "/object", service, [self.HelloWorld]) + dbus.Object.__init__(self, "/org/designfu/TestService/object", service, [self.emitHelloSignal]) def emitHelloSignal(self, message): # Emit the signal @@ -15,4 +15,3 @@ service = dbus.Service("org.designfu.TestService", bus=session_bus) object = TestObject(service) gtk.main() -A |