[Optimoz] Changing default preferences
Raymond Hebert
gnarwhal at operamail.com
Wed Nov 9 15:16:45 EST 2005
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
--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 8 at http://www.opera.com
Powered by Outblaze
More information about the Optimoz
mailing list