[Etoys] Keyboard handling

Bert Freudenberg bert at freudenbergs.de
Tue Jun 19 18:34:02 EDT 2007


On Jun 20, 2007, at 0:06 , Yoshiki Ohshima wrote:

>   Bert,
>
>> I submitted a ticket about this, and Eben responded promptly:
>>
>> 	http://dev.laptop.org/ticket/1721#comment:2
>>
>> So we'll need to revisit the use of short-cuts in etoys ...
>
>   I think it is a matter of setting #swapControlAndAltKeys preference
> to true (in cambridge theme), right?  I will publish that change and
> make up an image with that theme installed.

Well I guess there will be a lot of other short cuts. Like paste on  
World is hard-wired to Alt.

>   And, this is a different question, but what is the best way nowadays
> to tell that Squeak is running under sugar and XO or on other
> combinations of platforms?  I'd like to make it so that (as you
> suggested) the zoom button doesn't appear on XO, and on the other
> platform, show it with a better explanation.

We should add

	SugarLauncher isSugar

which would be equivalent to
	
	SugarLauncher current isSugar
	
which would return true if either dbus or pipe is non-nil.

No real way to tell if you're on an XO I think, but what would you  
need that for?

- Bert -




More information about the Etoys mailing list