[squeak-dev] monticelloToolWindowColor

Tim Felgentreff tim at nada1.de
Mon Apr 19 06:42:39 UTC 2010


Hi Bert, 
sorry about the late reply.

I added a #windowColorSpecification method to the MCTool, to handle the
Monticello tool colors just like the other SystemWindow subclasses'
colors. 
I believe the #monticelloToolWindowColor method was added by the
WindowColorRegistry when it's #refresh method is run upon changing the
global window color scheme (in Preferences
class>>#installWindowColorsVia:)

As to unloadability, the #windowColorSpecification is in the Monticello
package. When that is loaded and the Preference browser refreshes the
window color registry, then this method should be added automatically.

I am not entirely sure I'm right here, I'm guessing from the fact that I
didn't add those methods and that all xyzWindowColor methods were marked
changed when I modified the #installUniformWindowColors method and
refreshed the color registry.

Regards,
Tim

On Sat, 2010-04-17 at 00:39 +0200, Bert Freudenberg wrote: 
> Tim,
> 
> 1. How was this preference added? I could not find any initialization code.
> 2. Shouldn't it be part of the Monticello package?
> 
> Packages need to be self-contained, so we can eventually unload and reload them.
> 
> - Bert -
> 
> 
> 





More information about the Squeak-dev mailing list