[Seaside] Re: [Pharo-project] mouse right button

John McKeon p3anoman at gmail.com
Mon Feb 8 23:07:35 UTC 2010


Fixed
Seaside 3.0a5
Pharo1.0rc1 update 10505

On Mon, Feb 8, 2010 at 5:50 PM, Lukas Renggli <renggli at gmail.com> wrote:

> Thanks for all the help, I've uploaded a new version of the Seaside
> One-Click distribution with the adapted ini file. I guess this should
> finally work. Now we need some people to test it with an actual
> windows machine.
>
> Lukas
>
> On 8 February 2010 23:28, Andreas Raab <andreas.raab at gmx.de> wrote:
> > Lukas Renggli wrote:
> >>
> >> So that means if I take a recent Pharo-Core 1.0 and if I do not touch
> >> #swapMouseButtons then it should work with 3ButtonMouse=1 on Windoze
> >> too?
> >
> > The preferences need to agree. Here's a test you can use to ensure
> > consistency:
> >
> > testWinVM3ButtonMousePreference
> >        "Ensure that swapMouseButtons agrees with 3ButtonMouse preference"
> >        | iniData iniPref exePath |
> >        SmalltalkImage current platformName = 'Win32' ifFalse:[^self].
> >        exePath := SmalltalkImage current getSystemAttribute: 0.
> >        iniData := [
> >                (FileStream readOnlyFileNamed: (exePath copyUpToLast: $.),
> > '.ini')
> >                         contentsOfEntireFile
> >        ] on: Error do:[:ex| ex return: ''].
> >        iniPref := false. "default is OFF"
> >        iniData linesDo:[:line|
> >                (line beginsWith: '3ButtonMouse') ifTrue:[
> >                        iniPref := (line copyAfter: $=) withBlanksTrimmed
> ~=
> > '0'.
> >                ].
> >        ].
> >        self assert: iniPref = Preferences swapMouseButtons.
> >
> > Cheers,
> >  - Andreas
> > _______________________________________________
> > seaside mailing list
> > seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
http://jmck.seasidehosting.st
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20100208/e6b728ad/attachment.htm


More information about the seaside mailing list