Rename activity service_name to bundle_id
This commit is contained in:
@@ -39,8 +39,8 @@ class ActivityModel:
|
||||
def get_color(self):
|
||||
return XoColor(self.activity.props.color)
|
||||
|
||||
def get_service_name(self):
|
||||
return self.bundle.service_name
|
||||
def get_bundle_id(self):
|
||||
return self.bundle.bundle_id
|
||||
|
||||
class MeshModel(gobject.GObject):
|
||||
__gsignals__ = {
|
||||
|
||||
@@ -156,9 +156,9 @@ class HomeActivity(gobject.GObject):
|
||||
return self._window
|
||||
|
||||
def get_type(self):
|
||||
"""Retrieve activity_info's "service_name" for future reference"""
|
||||
"""Retrieve the activity bundle id for future reference"""
|
||||
if self._activity_info:
|
||||
return self._activity_info.service_name
|
||||
return self._activity_info.bundle_id
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user