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
@@ -91,9 +91,9 @@ class ActivitiesTray(hippo.CanvasBox):
while activity_list:
info = activity_list.pop()
name_to_activity[info.service_name] = info
name_to_activity[info.bundle_id] = info
if info.service_name in self._config:
if info.bundle_id in self._config:
known_activities.append(info)
else:
unknown_activities.append(info)
+1 -1
View File
@@ -47,7 +47,7 @@ class ActivityButton(TrayButton, gobject.GObject):
self.setup_rollover_options()
def get_bundle_id(self):
return self._activity_info.service_name
return self._activity_info.bundle_id
def setup_rollover_options(self):
palette = Palette(self._activity_info.name)