From: Oleg Broytman Date: Sun, 26 Jul 2015 09:52:48 +0000 (+0300) Subject: Use longer path to make in unique X-Git-Tag: v5.0.0~1 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=4e7394a7e103cf0633cc9c42d9959aa94f2d7c9a;p=xsetbg.git Use longer path to make in unique --- diff --git a/xsetbg-dbus-client.py b/xsetbg-dbus-client.py index 3a0087a..6775159 100755 --- a/xsetbg-dbus-client.py +++ b/xsetbg-dbus-client.py @@ -18,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)() diff --git a/xsetbg-dbus.py b/xsetbg-dbus.py index 11570bc..48c3f66 100755 --- a/xsetbg-dbus.py +++ b/xsetbg-dbus.py @@ -36,7 +36,7 @@ if __name__ == '__main__': session_bus = dbus.SessionBus() name = dbus.service.BusName("name.phdru.XSetBg", session_bus) - object = XsetBg(session_bus, '/XSetBg') + object = XsetBg(session_bus, '/name/phdru/XSetBg') change(force=True) mainloop = gobject.MainLoop()