[squeak-dev] Removing a Preference

Frank Shearar frank.shearar at gmail.com
Sat Jul 27 19:48:45 UTC 2013


Yes, it's more the "where should I put the #removeKey: when I remove
the preference" than "hi I am a newbie and don't know the Dictionary
API" :)

Yes, ok, ah postscript could do the trick. I can't think of a better
way of doing it, and it is an inherently state-changing thing.

frank

On 27 July 2013 19:28, Chris Muller <asqueaker at gmail.com> wrote:
> I don't mean to be a smart-alec but...   removeKey: ?  :)
>
> No, seriously, are you asking where to put the removeKey:?  Perhaps in
> the MC post-script of that package-version?
>
> On Fri, Jul 26, 2013 at 12:56 PM, Frank Shearar <frank.shearar at gmail.com> wrote:
>> As part of the MonticellConfiguration <--> System untangling, I'm
>> converting the #updateFromServerAtStartup preference to a
>> PragmaPreference. Making the new preference is easy. But the
>> preference itself is stored inside Preferences' vast Dictionary of
>> preferences. It seems lame to just leave the key there. So what's the
>> proper way to remove the old preference?
>>
>> frank
>>
>


More information about the Squeak-dev mailing list