[kupfer: 14/51] kupferrelay: Don't introspect



commit d862a6f6ad6ef7ac6616f5aee33a381b0e569923
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Mon Mar 28 16:51:43 2011 +0200

    kupferrelay: Don't introspect
    
    (this reduces bus traffic)

 kupferrelay.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupferrelay.py b/kupferrelay.py
index 4018bf1..58fd182 100644
--- a/kupferrelay.py
+++ b/kupferrelay.py
@@ -35,7 +35,7 @@ def relay_key(key):
 	time = keybinder.get_current_event_time()
 	s_id = "kupfer-%d_TIME%s" % (os.getpid(), time)
 	bus = dbus.Bus()
-	obj = bus.get_object(SERV, OBJ)
+	obj = bus.get_object(SERV, OBJ, introspect=False)
 	iface = dbus.Interface(obj, IFACE)
 	iface.RelayKeysFromDisplay(key, os.getenv("DISPLAY"), s_id)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]