summaryrefslogtreecommitdiffstats
path: root/python/examples/example-client.py
diff options
context:
space:
mode:
authorSeth Nickell <seth@gnome.org>2004-05-29 22:37:13 +0000
committerSeth Nickell <seth@gnome.org>2004-05-29 22:37:13 +0000
commit5d6113aaa0595a8eb7f3263c5679b2bd069f95ba (patch)
tree121e289d4a0385252b9c9a007ab946371113960d /python/examples/example-client.py
parent7c77664c5a38d44b14044286e7e5aa7def858889 (diff)
2004-05-29 Seth Nickell <seth@gnome.org>
* python/dbus.py: * python/examples/example-client.py: * python/examples/example-service.py: * python/examples/list-system-services.py: Add SessionBus, SystemBus and ActivationBus classes so you don't need to know the special little BUS_TYPE flag.
Diffstat (limited to 'python/examples/example-client.py')
-rw-r--r--python/examples/example-client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/example-client.py b/python/examples/example-client.py
index 0038b2db..c1393ecc 100644
--- a/python/examples/example-client.py
+++ b/python/examples/example-client.py
@@ -2,7 +2,7 @@
import dbus
-bus = dbus.Bus()
+bus = dbus.SessionBus()
remote_service = bus.get_service("org.designfu.SampleService")
remote_object = remote_service.get_object("/SomeObject",
"org.designfu.SampleInterface")