FOSSRIT / Sash

Sugar Activity to display Open Badges on the XO
MIT License
3 stars 2 forks source link

Make Sash run as a proper XO Activity #18

Closed f4ngy closed 10 years ago

f4ngy commented 11 years ago

This will also allow implementation of the universal toolbar

LinkSlayer64 commented 11 years ago

So, as I've tried to analyze the code, I noticed this project does not follow most other activites basic setups of using "activity" imported from sash, which would give full access to the natural Sugar toolbar. I've been working on trying to convert over, but I keep getting issues I need to debug

LinkSlayer64 commented 10 years ago

http://u104.guest.isc.org/make-your-own-sugar-activities/making-new-style-toolbars/ Sample code

rxg1565 commented 10 years ago

http://git.sugarlabs.org/memorize/mainline/blobs/master/activity.py Moar sample code

rxg1565 commented 10 years ago

http://wiki.laptop.org/go/Sugar.activity.activity stuff aboot activity.activity

f4ngy commented 10 years ago

Hi guys, still working on this, I'll make sure to have it done by tomorrow though so that we can test it before the Tuesday playtest

f4ngy commented 10 years ago

I think the reason they made it so that Sash.py doesn't use sugar activity is so that it can be run on a computer easily without having to use an XO simulator, but like Zach has said this results in us being unable to access features from the activity class. I think I can change Sash.py to use activity but I might need to figure out how to XO simulator works so that I can run it. I don't think its possible for me to run it as a sugar activity on my vm out of the box? I need to be able to send the sash init an activity.

LinkSlayer64 commented 10 years ago

Fangy - if you installed sugar and sugar-emulator on your vm, you can build the Sash.xo file, then in the folder the xo file is located in, run sugar-install-bundle "sash.xo filename here" then you can launch sugar-emulator and it will have sash installed to test

LinkSlayer64 commented 10 years ago

commit 9f93636c2e8b8e510c7e723eee38e8f778a3fc7c