Fixed<div>Seaside 3.0a5</div><div>Pharo1.0rc1 update 10505<br><br><div class="gmail_quote">On Mon, Feb 8, 2010 at 5:50 PM, Lukas Renggli <span dir="ltr"><<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thanks for all the help, I've uploaded a new version of the Seaside<br>
One-Click distribution with the adapted ini file. I guess this should<br>
finally work. Now we need some people to test it with an actual<br>
windows machine.<br>
<font color="#888888"><br>
Lukas<br>
</font><div><div></div><div class="h5"><br>
On 8 February 2010 23:28, Andreas Raab <<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>> wrote:<br>
> Lukas Renggli wrote:<br>
>><br>
>> So that means if I take a recent Pharo-Core 1.0 and if I do not touch<br>
>> #swapMouseButtons then it should work with 3ButtonMouse=1 on Windoze<br>
>> too?<br>
><br>
> The preferences need to agree. Here's a test you can use to ensure<br>
> consistency:<br>
><br>
> testWinVM3ButtonMousePreference<br>
> "Ensure that swapMouseButtons agrees with 3ButtonMouse preference"<br>
> | iniData iniPref exePath |<br>
> SmalltalkImage current platformName = 'Win32' ifFalse:[^self].<br>
> exePath := SmalltalkImage current getSystemAttribute: 0.<br>
> iniData := [<br>
> (FileStream readOnlyFileNamed: (exePath copyUpToLast: $.),<br>
> '.ini')<br>
> contentsOfEntireFile<br>
> ] on: Error do:[:ex| ex return: ''].<br>
> iniPref := false. "default is OFF"<br>
> iniData linesDo:[:line|<br>
> (line beginsWith: '3ButtonMouse') ifTrue:[<br>
> iniPref := (line copyAfter: $=) withBlanksTrimmed ~=<br>
> '0'.<br>
> ].<br>
> ].<br>
> self assert: iniPref = Preferences swapMouseButtons.<br>
><br>
> Cheers,<br>
> - Andreas<br>
> _______________________________________________<br>
> seaside mailing list<br>
> <a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
> <a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
><br>
<br>
<br>
<br>
</div></div><div class="im">--<br>
Lukas Renggli<br>
<a href="http://www.lukas-renggli.ch" target="_blank">http://www.lukas-renggli.ch</a><br>
_______________________________________________<br>
</div><div><div></div><div class="h5">seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://jmck.seasidehosting.st">http://jmck.seasidehosting.st</a><br>
</div>