[squeak-dev] Re: swapMouseButtons broken in trunk

Chris Cunningham cunningham.cb at gmail.com
Thu Mar 3 22:28:29 UTC 2016


On Thu, Mar 3, 2016 at 12:31 PM, karl ramberg <karlramberg at gmail.com> wrote:

> Nice.
> BTW: there is a lot of empty categories in the Preferences class.
> We must remove those in a post script or something.
> Preferences organization removeEmptyCategories
>
> I'm not sure how to do it ?
>
> Add it in a package preamble ?
> Does we then need to remove the preamble again ?
>

If I remember right, the preamble (and postlude?) only get run once - when
they are first changed.  After that, they are skipped.
This means you want to leave them in and not remove them - otherwise a
person later on would update from Trunk and just get the latest version -
which doesn't have the preamble - and the work wouldn't be done.

Or am I wrong, and this only happens with Class initialization?

-cbc

>
> Best,
> Karl
>
>
> On Wed, Mar 2, 2016 at 12:44 PM, marcel.taeumel <Marcel.Taeumel at hpi.de>
> wrote:
>
>> Hi, there!
>>
>> I restored some other messages that got lost and made it consistent with
>> the
>> key-duplication things in EventSensor:
>>
>> http://forum.world.st/The-Trunk-Kernel-mt-1003-mcz-td4881980.html
>>
>> Best,
>> Marcel
>>
>>
>>
>> --
>> View this message in context:
>> http://forum.world.st/swapMouseButtons-broken-in-trunk-tp4881884p4881981.html
>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>
>>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160303/a13790ac/attachment.htm


More information about the Squeak-dev mailing list