Aaron Seigo 27531a3173 the palette gets updated by all sorts of events on the scene now (incl. reparenting!), so make sure the palette is _really_ changing before marking it as custom
this fixes widget colours not updating with theme changes -> if, for instance, an offscreen widget is created, this results in a reparenting (to null)
and that in turn creates a palette changed event ... which was being intepretted as a custom palette being set and that would disable future updates
due to theme changes.

this also introduces a small helper which computes the palettes once for use by all widgets as a small performance improvement.

BUG:261967
2011-12-04 14:00:32 +01:00
..
2010-06-21 13:17:45 +00:00
2010-04-28 17:39:12 +00:00
2011-11-22 21:18:04 +13:00
2009-11-25 01:08:35 +00:00
2009-11-25 01:08:35 +00:00
2009-11-25 01:08:35 +00:00
2010-10-12 19:33:15 +00:00
2010-09-27 18:16:27 +00:00
2009-11-25 01:08:35 +00:00
2009-11-25 01:08:35 +00:00
2010-01-18 18:24:57 +00:00
2010-02-22 11:21:30 +00:00
2010-07-24 00:52:37 +00:00
2009-11-25 01:08:35 +00:00
2010-01-18 18:24:57 +00:00
2011-05-06 21:51:55 +02:00
2009-11-25 01:08:35 +00:00
2010-06-03 22:08:18 +00:00
2009-11-17 01:48:12 +00:00
2009-11-17 01:48:12 +00:00
2010-10-04 21:48:06 +00:00
2011-04-29 11:17:30 +02:00
2011-05-26 23:13:44 +02:00
2011-04-29 11:17:30 +02:00
2011-11-30 15:44:29 +01:00
2009-11-25 01:08:35 +00:00
2009-11-25 01:08:35 +00:00