Stop abusing ZeroConf by overloading the service type field; overload the service name field instead like everyone else does

This commit is contained in:
Dan Williams
2006-06-22 14:05:38 -04:00
parent 2351ee0458
commit 2840af85ce
8 changed files with 165 additions and 193 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ class ActivityDbusService(dbus.service.Object):
if service is None:
self._activity_id = self._activity_container.add_activity("", self._activity.default_type())
else:
self._activity_id = service.get_activity_uid()
self._activity_id = service.get_activity_id()
self._activity_container.add_activity_with_id("", self._activity.default_type(), self._activity_id)
self._object_path = SHELL_SERVICE_PATH + "/Activities/%s" % self._activity_id