Rename activity service_name to bundle_id

This commit is contained in:
Marco Pesenti Gritti
2007-10-09 13:15:06 +02:00
parent 57961d17bc
commit 6073a396b3
16 changed files with 62 additions and 50 deletions
+2 -2
View File
@@ -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__ = {
+2 -2
View File
@@ -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