From 4e7394a7e103cf0633cc9c42d9959aa94f2d7c9a Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 26 Jul 2015 12:52:48 +0300 Subject: [PATCH] Use longer path to make in unique --- xsetbg-dbus-client.py | 2 +- xsetbg-dbus.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() -- 2.39.5