Re: [Sugar-devel] First HTML activities API

2013-05-03 Thread Manuel Quiñones
2013/5/3 Daniel Narvaez : > On 3 May 2013 16:01, Manuel Quiñones wrote: >> >> Excellent. I have updated my toy web activity to make use of the close >> API: >> >> https://github.com/manuq/clockjs >> >> Now I'll do the activity icon painted with the xo-colors API, in the >> same way as in your xi-

Re: [Sugar-devel] First HTML activities API

2013-05-03 Thread Daniel Narvaez
On 3 May 2013 16:01, Manuel Quiñones wrote: > Excellent. I have updated my toy web activity to make use of the close > API: > > https://github.com/manuq/clockjs > > Now I'll do the activity icon painted with the xo-colors API, in the > same way as in your xi-artwork/icons.js > > Cool. Are you go

Re: [Sugar-devel] First HTML activities API

2013-05-03 Thread Manuel Quiñones
Excellent. I have updated my toy web activity to make use of the close API: https://github.com/manuq/clockjs Now I'll do the activity icon painted with the xo-colors API, in the same way as in your xi-artwork/icons.js 2013/5/1 Daniel Narvaez : > Hello, > > I submitted some initial code for the

Re: [Sugar-devel] First HTML activities API

2013-05-01 Thread Daniel Narvaez
I added authentication and a method to get the xo color that Manuel requested. Maybe it should be generalized into some kind of settings api though. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-dev

Re: [Sugar-devel] First HTML activities API

2013-05-01 Thread Daniel Narvaez
By the way, I have not tested but I would expect this to be compatible with 0.98/WebKit1 by copying htmlactivity.py and gwebsockets inside the activity. On 1 May 2013 19:21, Daniel Narvaez wrote: > Hello, > > I submitted some initial code for the HTML activities API. I implemented > only a clos

[Sugar-devel] First HTML activities API

2013-05-01 Thread Daniel Narvaez
Hello, I submitted some initial code for the HTML activities API. I implemented only a close method for now, but it should be possible to add more stuff easily. Here is the toolkit patch https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/15 It adds a dependency on gwebsockets. https://github