Also register the dbus resource
authorEnrico Zini <enrico@enricozini.org>
Sun, 14 Jun 2009 03:31:51 +0000 (11:31 +0800)
committerEnrico Zini <enrico@enricozini.org>
Sun, 14 Jun 2009 03:31:51 +0000 (11:31 +0800)
src/zavai

index 152f4ff7389dc2ea3bc549a2f6bd9455f975dfb8..2997491886bc6298a35b790d30f91797a9019346 100755 (executable)
--- a/src/zavai
+++ b/src/zavai
@@ -60,6 +60,7 @@ dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
 registry = zavai.Registry()
 
 # Register main factories
+registry.register("dbus.system_bus", dbus.SystemBus)
 registry.register("conf", lambda *args, **kw: conf)
 registry.register("app", zavai.Zavai)
 registry.register("menu", zavai.Menu)