Remove more old activities code
This commit is contained in:
parent
6169f603e5
commit
b5b9d9d5f1
@ -56,14 +56,8 @@ class ActivityHost:
|
||||
self._type = self._activity.get_type()
|
||||
self._gdk_window = gtk.gdk.window_foreign_new(self._xid)
|
||||
|
||||
# FIXME Old activity registry support, cleanup
|
||||
registry = conf.get_activity_registry()
|
||||
info = registry.get_activity(self._type)
|
||||
|
||||
if not info:
|
||||
registry = shell_model.get_bundle_registry()
|
||||
info = registry.get_bundle(self._type)
|
||||
|
||||
registry = shell_model.get_bundle_registry()
|
||||
info = registry.get_bundle(self._type)
|
||||
self._icon_name = info.get_icon()
|
||||
|
||||
try:
|
||||
|
@ -29,7 +29,7 @@ class ActivityItem(CanvasIcon):
|
||||
self._activity = activity
|
||||
|
||||
def get_bundle_id(self):
|
||||
return self._activity.get_id()
|
||||
return self._activity.get_service_name()
|
||||
|
||||
class InviteItem(CanvasIcon):
|
||||
def __init__(self, invite):
|
||||
|
Loading…
Reference in New Issue
Block a user