[Optimoz] Changing default preferences

Jens Bannmann jens.b at web.de
Wed Nov 9 20:42:33 EST 2005


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


More information about the Optimoz mailing list