On Sat, Jul 13, 2013 at 6:21 PM, Walter Bender <walter.ben...@gmail.com> wrote: > So I wrote my first JS activity [1, 2] (although I wrote the original > XO Colors activity in JS and XML back in 2007) and will it sort of kid > of works, I have some problems: > > (1) The toolbar buttons are not properly aligned vertically. From my > web browser, the activity button is properly aligned, but the "new" > button I added is offset down by about 25 pixels. In Sugar (latest > sugar-build running on F19), the activity button is offset down and > the "new" button is properly aligned.
FWIW, the buttons align properly with firefox. -walter > > (2) Somewhere along the line, my activity does not launch/close > properly: a gray circle on the frame (always a bad sign) along with my > ever-flashing activity icon. Empty activity log file. > > Lots of this in shell.log > 1373753530.754283 DEBUG gwebsockets: Got data, length 52 > 1373753530.754836 DEBUG gwebsockets: Text message > {"method":"activity.close","id > ":9,"params":[]} > Traceback (most recent call last): > File > "/home/walter/sugar-build/build/out/install/lib/python2.7/site-packages/j > arabe/apisocket.py", line 288, in _message_received_cb > getattr(self._apis[api_name](client), method_name)(request) > File > "/home/walter/sugar-build/build/out/install/lib/python2.7/site-packages/j > arabe/apisocket.py", line 57, in close > self._activity.get_window().close(GLib.get_current_time()) > AttributeError: 'NoneType' object has no attribute 'close' > > Any pointers would be appreciated. > > thx > > -walter > -- > Walter Bender > Sugar Labs > http://www.sugarlabs.org > > [1] https://github.com/walterbender/connectthedots > [2] http://people.sugarlabs.org/walter/ConnecttheDots-1.xo -- Walter Bender Sugar Labs http://www.sugarlabs.org _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel