Remove the old activities code path from here
This commit is contained in:
parent
6bdda47901
commit
6169f603e5
@ -17,7 +17,6 @@
|
|||||||
import hippo
|
import hippo
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import conf
|
|
||||||
from sugar.graphics.canvasicon import CanvasIcon
|
from sugar.graphics.canvasicon import CanvasIcon
|
||||||
from sugar.presence import PresenceService
|
from sugar.presence import PresenceService
|
||||||
from sugar.graphics import style
|
from sugar.graphics import style
|
||||||
@ -59,11 +58,6 @@ class ActivitiesBox(hippo.CanvasBox):
|
|||||||
self._invite_to_item = {}
|
self._invite_to_item = {}
|
||||||
self._invites = self._shell_model.get_invites()
|
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():
|
for bundle in self._shell_model.get_bundle_registry():
|
||||||
if bundle.get_show_launcher():
|
if bundle.get_show_launcher():
|
||||||
self.add_activity(bundle)
|
self.add_activity(bundle)
|
||||||
|
Loading…
Reference in New Issue
Block a user