X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=xsetbg-dbus-client.py;h=e3a7825f5eae34fdafe0d7ea81e2234073602b95;hb=5be27ee9d6b805200db0295a9426d22159336cbe;hp=3a0087ae065b50ec32b8f84f6fb9f7b34e1b0150;hpb=9f11c26113add5270ade4da28c7a2adb84194b1b;p=xsetbg.git diff --git a/xsetbg-dbus-client.py b/xsetbg-dbus-client.py old mode 100644 new mode 100755 index 3a0087a..e3a7825 --- a/xsetbg-dbus-client.py +++ b/xsetbg-dbus-client.py @@ -3,11 +3,6 @@ """ -__author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design" -__license__ = "GNU GPL" - - import sys import dbus @@ -18,7 +13,7 @@ def main(): sys.exit('Usage: %s command' % sys.argv[0]) bus = dbus.SessionBus() - remote_object = bus.get_object("name.phdru.XSetBg", "/XSetBg") + remote_object = bus.get_object("name.phdru.XSetBg", "/name/phdru/XSetBg") iface = dbus.Interface(remote_object, "name.phdru.XSetBg") getattr(iface, command)()