Rename for new API.
This commit is contained in:
parent
fc805d3a88
commit
8679737d86
@ -130,7 +130,7 @@ class HomeModel(gobject.GObject):
|
|||||||
else:
|
else:
|
||||||
# activity got lost, took longer to launch than we allow,
|
# activity got lost, took longer to launch than we allow,
|
||||||
# or it was launched by something other than the shell
|
# or it was launched by something other than the shell
|
||||||
act_type = act_service.get_type()
|
act_type = act_service.get_service_name()
|
||||||
bundle = self._bundle_registry.get_bundle(act_type)
|
bundle = self._bundle_registry.get_bundle(act_type)
|
||||||
if not bundle:
|
if not bundle:
|
||||||
raise RuntimeError("No bundle for activity type '%s'." % act_type)
|
raise RuntimeError("No bundle for activity type '%s'." % act_type)
|
||||||
|
Loading…
Reference in New Issue
Block a user