X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=xsetbg-dbus-client.py;h=6775159a09d4b6f6e98eaab883d785a716596591;hb=91bc89a2dac937021ecd1016b2ad8cd869112be1;hp=7d2e337d779a1d61e70e22239955872a1a6bc292;hpb=1e78bdb4689601d3b4b774cff2ad9dbdc00326c7;p=xsetbg.git diff --git a/xsetbg-dbus-client.py b/xsetbg-dbus-client.py old mode 100644 new mode 100755 index 7d2e337..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-2010 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)()