diff --git a/src/sugar/activity/widgets.py b/src/sugar/activity/widgets.py index 5b712f2e..b5e4ce77 100644 --- a/src/sugar/activity/widgets.py +++ b/src/sugar/activity/widgets.py @@ -149,7 +149,8 @@ class ShareButton(RadioMenuButton): def __update_share_cb(self, activity): self.neighborhood.handler_block(self._neighborhood_handle) try: - if activity.get_shared(): + if activity.shared_activity is not None and \ + not activity.shared_activity.props.private: self.private.props.sensitive = False self.neighborhood.props.sensitive = False self.neighborhood.props.active = True