sugarlabs/sugar-web — pull request #32 by manuq (2013-06-03 23:54:05+00:00)
Title: Fix activity/activity callbacks, and adapt icon.colorize function

Invert the if/else clauses. If the error === null then there was no
error.

Change the output of activity.getXOColor to be an object with stroke
and fill members instead of an array. Adape icon.colorize function to
this change.