Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate create_jobject parameter on activity.py - Fixes #3450 #240

Closed
wants to merge 1 commit into from

Conversation

godiard
Copy link
Contributor

@godiard godiard commented Jul 10, 2015

As the ticket describe, create a object in the Journal
is no longer optional. The change do not break activities,
because the optional parameter is not removed, just ignored.

As the ticket describe, create a object in the Journal
is no longer optional. The change do not break activities,
because the optional parameter is not removed, just ignored.
@tchx84
Copy link
Member

tchx84 commented Aug 4, 2015

@godiard, I agree this is a easier way out of the problem mentioned in #3450, but is there any particular reason not to go for the solution of covering the unchecked uses of self._jobject?

@godiard
Copy link
Contributor Author

godiard commented Aug 4, 2015

@tchx84, I think is the safe way to avoid this problem. After the ticket was filled we added even more logic using the jobject (Description button). Not save a object in the journal was a option needed when Sugar started a new instance by default, and we not use create_jobject=False in any maintained activity (or will crash) but this is to avoid errors in old activities.

@godiard
Copy link
Contributor Author

godiard commented Aug 4, 2015

You can see part of the uses of jobject on widgets.py https://github.com/sugarlabs/sugar-toolkit-gtk3/blob/master/src/sugar3/activity/widgets.py

@samdroid-apps
Copy link
Contributor

This now conflicts with the updated documentation. This looks like a good patch though, and nobody seems interested in fixing it. @godiard can you submit a new version of the patch?

@godiard
Copy link
Contributor Author

godiard commented Oct 5, 2015

@samdroid-apps, sent a new pr #257

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants