Features/GTK3/Porting: Difference between revisions
→Port the activity from GTK2 to GTK3: setup.py |
|||
| Line 81: | Line 81: | ||
to | to | ||
from sugar3.activity import activity | from sugar3.activity import activity | ||
Make sure you change the setup.py in your activity to point to the new toolkit as well: | |||
from sugar3.activity import bundlebuilder | |||
The changes that were needed to port the hello-world activity can be seen in [http://git.sugarlabs.org/hello-world/mainline/commit/508e1c518b56cbde5508e560c8a2ff38a3518583 this commit]. | The changes that were needed to port the hello-world activity can be seen in [http://git.sugarlabs.org/hello-world/mainline/commit/508e1c518b56cbde5508e560c8a2ff38a3518583 this commit]. | ||