Complete the rebranding of the D-Bus plugin

This commit is contained in:
Berke Viktor
2012-07-18 15:18:43 +02:00
parent 1b0c07f8ea
commit 746d9b542b
9 changed files with 29 additions and 29 deletions

View File

@@ -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):