[Pharo-project] ThemeSettings>>#menuSelectionColor: should return self
I was playing with the new Pro theme, and this bit me hard (crashed my image several times before I found out why): ThemeSettings>>#menuSelectionColor: should return self not a Color, just like all other setters, otherwise the cascades in UITheme class>>#newDefaultSettings won't work, although a final #yourself would be good style there too. Sven
I turned this into an issue: http://code.google.com/p/pharo/issues/detail?id=2983 On 31 Aug 2010, at 17:14, Sven Van Caekenberghe wrote:
I was playing with the new Pro theme, and this bit me hard (crashed my image several times before I found out why):
ThemeSettings>>#menuSelectionColor: should return self not a Color, just like all other setters,
otherwise the cascades in UITheme class>>#newDefaultSettings won't work, although a final #yourself would be good style there too.
Sven
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (1)
-
Sven Van Caekenberghe