[Optimoz] Changing default preferences

Jochen bugs at krickelkrackel.de
Wed Nov 9 21:29:24 EST 2005


My last try to post to a newsgroup.
If it's not working, I'll give up for today...
(never, ever, create a Thunderbird profile from two old profiles)

Raymond, you can look at
http://downloads.mozdev.org/optimoz/nightly/mozgest_20051101.xpi
and you will find a more or less stable nightly of MozGest.
If you want to test the nightly, please create a new profile...

Jochen

Raymond Hebert wrote:
> Thanks guys!
> 
> readPref was the thing I needed, although it was the third param :).  I'm looking forward to a file with defaults though, much more customizable that way.
> 
> Thanks,
> 
> Ray
> 
> 
> ----- Original Message -----
> From: "Jens Bannmann" <jens.b at web.de>
> To: optimoz at mozdev.org
> Subject: Re: [Optimoz] Changing default preferences
> Date: Wed, 09 Nov 2005 20:42:33 +0100
> 
> 
>>Raymond Hebert schrieb:
>>
>>>I assume this means that there are defaults in the .jar that may be
>>>edited, but I have not been able to find them.
>>
>>Correct. In the past, MozGest did not use default preferences files 
>>(the next release will use one). Instead, it dynamically adds the 
>>default value for a pref whenever it's missing. However, if you 
>>take care, you can still change the defaults. Open up the file 
>>content/mozgestOverlay.js from the jar file, and search for 
>>"mozgestReadPref". In that function, there are several calls to 
>>mgGetPref. The last parameter is the default value that gets 
>>written to the profile if the pref does not exist.
>>
>>Regards,
>>Jens
>>_______________________________________________
>>Optimoz mailing list
>>Optimoz at mozdev.org
>>http://mozdev.org/mailman/listinfo/optimoz
> 
> 
> 


More information about the Optimoz mailing list