]> git.phdru.name Git - xsetbg.git/commitdiff
Use longer path to make in unique
authorOleg Broytman <phd@phdru.name>
Sun, 26 Jul 2015 09:52:48 +0000 (12:52 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 26 Jul 2015 09:52:48 +0000 (12:52 +0300)
xsetbg-dbus-client.py
xsetbg-dbus.py

index 3a0087ae065b50ec32b8f84f6fb9f7b34e1b0150..6775159a09d4b6f6e98eaab883d785a716596591 100755 (executable)
@@ -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)()
index 11570bc720c6c3933be61fafcba3409fd2a4eea4..48c3f6626bbbca6cecf06293bffc1a78511678dc 100755 (executable)
@@ -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()