Benjamin D. Smedberg wrote:
Adrian M. wrote:

I recently built a 1.7b version of mozilla, and I noticed the new style of specifying platform specific prefs in modules/libpref/src/init/all.js
using #ifdef for various platforms.
The problem is that the prefs with #ifdef for our platform ( photon ) don't show up at all ( the dist/bin/default/pref/all.js contains no #ifdefs and the photon specific ones are not there ). Any idea?


That's not the correct file. The file you want should be in dist/bin/greprefs/all.js.

Ok, I can see the photon platform specific prefs in that file.
There is a problem though:
our platform ( photon ) also defines the XP_UNIX manifest, so the all.js will contain:


... photon section
... xp_unix section

Before the unification was made, the js were executed in this order: all.js unix.js photon.js
Now the photon and xp_unix changed places.
Can I move the photon section *after* the XP_UNIX section in the modules/libpref/src/init/all.js ?


Thanks,
Adrian
_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to