summary refs log tree commit diff stats
path: root/src/common/dbus/example.py
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-07-18 15:18:43 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-07-18 15:18:43 +0200
commit746d9b542bb70764366e2dd406e74a60893aa192 (patch)
tree05c171bc06e88a159c06d710f9d42909b894adbc /src/common/dbus/example.py
parent1b0c07f8ea3415ebc4dcae2f87e5d529a83bb7b9 (diff)
Complete the rebranding of the D-Bus plugin
Diffstat (limited to 'src/common/dbus/example.py')
-rw-r--r--src/common/dbus/example.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/dbus/example.py b/src/common/dbus/example.py
index 08bfdac3..01156806 100644
--- a/src/common/dbus/example.py
+++ b/src/common/dbus/example.py
@@ -3,14 +3,14 @@
 import dbus
 
 bus = dbus.SessionBus()
-proxy = bus.get_object('org.xchat.service', '/org/xchat/Remote')
-remote = dbus.Interface(proxy, 'org.xchat.connection')
+proxy = bus.get_object('org.hexchat.service', '/org/hexchat/Remote')
+remote = dbus.Interface(proxy, 'org.hexchat.connection')
 path = remote.Connect ("example.py",
 		       "Python example",
 		       "Example of a D-Bus client written in python",
 		       "1.0")
-proxy = bus.get_object('org.xchat.service', path)
-xchat = dbus.Interface(proxy, 'org.xchat.plugin')
+proxy = bus.get_object('org.hexchat.service', path)
+xchat = dbus.Interface(proxy, 'org.hexchat.plugin')
 
 channels = xchat.ListGet ("channels")
 while xchat.ListNext (channels):