Remove the old activities code path from here

This commit is contained in:
Marco Pesenti Gritti 2006-12-01 22:23:12 +01:00
parent 6bdda47901
commit 6169f603e5

View File

@ -17,7 +17,6 @@
import hippo
import logging
import conf
from sugar.graphics.canvasicon import CanvasIcon
from sugar.presence import PresenceService
from sugar.graphics import style
@ -59,11 +58,6 @@ class ActivitiesBox(hippo.CanvasBox):
self._invite_to_item = {}
self._invites = self._shell_model.get_invites()
registry = conf.get_activity_registry()
for activity in registry.list_activities():
if activity.get_show_launcher():
self.add_activity(activity)
for bundle in self._shell_model.get_bundle_registry():
if bundle.get_show_launcher():
self.add_activity(bundle)