// ###
// # Pr�f�rences SCENARI �ventuellement surcharg�es dans allOveride.js
// #
pref("toolkit.defaultChromeURI", "chrome://scenaricms/content/deskwsp/deskwsp.xul");
//Ne demande pas confirmation pour ouvrir des application externes.
pref("network.protocol-handler.warn-external-default", false);

// SCENARI : Ne pas utiliser un dossier pr�d�fini pour le t�l�chargement, masquer la fenetre de t�l�charement
pref("browser.download.useDownloadDir", false);
pref("browser.download.manager.focusWhenStarting", false);
pref("browser.download.manager.showWhenStarting", false);
pref("browser.download.manager.useWindow", false);
pref("browser.download.folderList", 0);
pref("browser.download.manager.showAlertOnComplete", false);
// SCENARI : Coller dans un editor.singleLine, du multiline en rempla�ant les CR par des ' '
//   The 5 possible options for editor.singleLine.pasteNewlines are:
//   0. paste newlines intact
//   1. paste up to the first newline
//   2. replace newlines with spaces
//   3. strip newlines
//   4. replace with commas
pref("editor.singleLine.pasteNewlines",     1);
//surcharge de la langue
pref("general.useragent.locale", "fr-FR");
// SCENARI : Pour �dition Inline : 
pref("editor.custom_direction", "none");
pref("editor.custom_language", "");
pref("editor.custom_charset", "UTF-8");
pref("editor.use_custom_colors", false);

// expiration des cookies � la fin de la session
pref("network.cookie.lifetimePolicy", 2);

//D�lai avant warning script JS trop long.
pref("dom.max_chrome_script_run_time", 30);
pref("dom.max_script_run_time", 30);

//spellcheck et languages
pref("layout.spellcheckDefault", 2);
pref("extensions.spellcheck.inline.max-misspellings", 500);
pref("spellchecker.dictionary", "fr-FR");

//Prefs utilises au fonctionnement des fenetres des maj
pref("xpinstall.dialog.confirm", "chrome://mozapps/content/xpinstall/xpinstallConfirm.xul");
pref("xpinstall.dialog.progress.skin", "chrome://mozapps/content/extensions/extensions.xul?type=themes");
pref("xpinstall.dialog.progress.chrome", "chrome://mozapps/content/extensions/extensions.xul?type=extensions");
pref("xpinstall.dialog.progress.type.skin", "Extension:Manager-themes");
pref("xpinstall.dialog.progress.type.chrome", "Extension:Manager-extensions");
pref("extensions.update.enabled", false);
pref("extensions.update.interval", 86400);
pref("extensions.dss.enabled", false);
pref("extensions.dss.switchPending", false);
pref("extensions.ignoreMTimeChanges", false);
pref("extensions.logging.enabled", false);
pref("general.skins.selectedSkin", "classic/1.0");
pref("extensions.update.url", "chrome://mozapps/locale/extensions/extensions.properties");
pref("extensions.getMoreExtensionsURL", "chrome://mozapps/locale/extensions/extensions.properties");
pref("extensions.getMoreThemesURL", "chrome://mozapps/locale/extensions/extensions.properties");
pref("extensions.checkCompatibility", false);

// hack de nsExtensionManager : permet de ne pas afficher la fenetre de compatibilit� des extensions au premier d�marrage de l'appli
pref("scenari.extensions.showMigrateWindow", false);

// permet d'interpr�ter le num�ro de version
pref("scenari.version.minor.length", 1);//Permet de sp�cifier la taille de la version mineure de communication. 0 => que la vMineur de comm correspond � tout le param�tre @mineur

pref("app.update.silent", true);
pref("app.update.auto", false);

// Execution externe des protocoles :
pref("network.protocol-handler.expose.mailto", false);
pref("network.protocol-handler.expose.mailbox", false);
pref("network.protocol-handler.expose.http", false);
pref("network.protocol-handler.expose.https", false);
pref("network.protocol-handler.warn-external.http", false);
pref("network.protocol-handler.warn-external.https", false);

pref("scenari.install.xpi.mode", "inProfile");//[inProfile | inApplication | forbidden]
pref("app.name","OpaleSup");
pref("app.version.developmentStage","alpha");
pref("app.version.buildId","2009060303");
pref("app.version","3.1.007");
pref("app.extensions.version","3.6.012");
// TJS SURCHARGEE pref("scenari.urlServerLocal", "serverlocal:##app.server(port)##");
pref("scenari.reposCmsServerName", "scServer");
pref("scenari.jvm.xms", "256M");
pref("scenari.jvm.xmx", "256M");
// Liste des jars
pref("scenari.jar.sc.list", "scenari_bdp.jar;scenari_bdp_fs.jar;scenari_client.jar;scenari_co.jar;scenari_ext.jar;scenari_fw.jar;scenari_ge.jar;scenari_servletengine.jar;scenari_ihmcms.jar;scenari_jing.jar;scenari_updt.jar;scenari_audio.jar;scenari_XPComs.jar;scxmlparser.jar;scxmlserializer.jar;scxslt.jar;");
pref("scenari.jar.ext.list", "ant.jar;apacheFtp.jar;beanshell.jar;bsf.jar;fileupload.jar;jing.jar;oro.jar;servlet.jar;unofinder.jar;");		

// PATH absolu vers JVM 1.5
pref("scenari.jvm.path", "/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java");
