X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=xsetbg-dbus-client.py;h=6775159a09d4b6f6e98eaab883d785a716596591;hb=refs%2Ftags%2Fv5.0.0;hp=29db7c2c43214c5e5e981b962a5dc7c6a46d33f3;hpb=1a0b01fc4ec6633d07ad3c6a5b76bb967837e6e3;p=xsetbg.git diff --git a/xsetbg-dbus-client.py b/xsetbg-dbus-client.py old mode 100644 new mode 100755 index 29db7c2..6775159 --- a/xsetbg-dbus-client.py +++ b/xsetbg-dbus-client.py @@ -3,12 +3,8 @@ """ -__version__ = "$Revision: 48 $"[11:-2] -__revision__ = "$Id: xsetbg-wsgi.py 48 2011-02-18 13:35:39Z phd $"[5:-2] -__date__ = "$Date: 2011-02-18 16:35:39 +0300 (Fri, 18 Feb 2011) $"[7:-2] - __author__ = "Oleg Broytman " -__copyright__ = "Copyright (C) 2000-2011 PhiloSoft Design" +__copyright__ = "Copyright (C) 2000-2012 PhiloSoft Design" __license__ = "GNU GPL" @@ -22,7 +18,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)()