From 8701947aadc07bafccb3d13e17b21317e003bf2a Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Sun, 15 May 2011 18:59:25 +0000 Subject: Make sure we're the primary owner of the Sugar data store D-Bus service name Having several different data store processes running, potentially serving disjunct API versions (either because of race conditions or because several different implementations are installed) would be a major source of confusion and a recipe for disaster. Signed-off-by: Sascha Silbe --- (limited to 'gdatastore/datastore.py') diff --git a/gdatastore/datastore.py b/gdatastore/datastore.py index 1cb8555..6f1e86c 100644 --- a/gdatastore/datastore.py +++ b/gdatastore/datastore.py @@ -72,7 +72,8 @@ class DBusApiSugarV2(dbus.service.Object): bus_name = dbus.service.BusName(DBUS_SERVICE_SUGAR_V2, bus=dbus.SessionBus(), replace_existing=False, - allow_replacement=False) + allow_replacement=False, + do_not_queue=True) dbus.service.Object.__init__(self, bus_name, DBUS_PATH_SUGAR_V2) @dbus.service.method(DBUS_INTERFACE_SUGAR_V2, -- cgit v0.9.1