Fix properties bugs
This commit is contained in:
parent
a22d8a65f1
commit
83b712bcb1
@ -193,7 +193,7 @@ class MeshModel(gobject.GObject):
|
|||||||
self._check_activity(activity)
|
self._check_activity(activity)
|
||||||
|
|
||||||
def _check_activity(self, activity):
|
def _check_activity(self, activity):
|
||||||
atype = activity.get_type()
|
atype = activity.props.type
|
||||||
bundle = self._bundle_registry.get_bundle(atype)
|
bundle = self._bundle_registry.get_bundle(atype)
|
||||||
if not bundle:
|
if not bundle:
|
||||||
return
|
return
|
||||||
|
@ -81,7 +81,7 @@ class FriendsBox(hippo.CanvasBox):
|
|||||||
|
|
||||||
def __activity_appeared_cb(self, pservice, activity_ps):
|
def __activity_appeared_cb(self, pservice, activity_ps):
|
||||||
activity = self._shell.get_current_activity()
|
activity = self._shell.get_current_activity()
|
||||||
if activity and activity_ps.get_id() == activity.get_id():
|
if activity and activity_ps.props.id == activity.get_id():
|
||||||
self._set_activity_ps(activity_ps)
|
self._set_activity_ps(activity_ps)
|
||||||
|
|
||||||
def _set_activity_ps(self, activity_ps):
|
def _set_activity_ps(self, activity_ps):
|
||||||
|
Loading…
Reference in New Issue
Block a user