Changeset 15082 for trunk/Xul_Core/modules/scenariCore/defaultActions.jsm
- Timestamp:
- 03/08/10 23:21:57 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Xul_Core/modules/scenariCore/defaultActions.jsm
r14870 r15082 143 143 var actionShowPreferences = new actions.Action("actionShowPreferences").setGroup("pref").setLabel("Préférences..."); 144 144 actionShowPreferences.isVisible = function(pContext){ 145 return pContext.window.extPoints.readPref("scenariCore.preferences.url", "chrome://scenariC ms/content/preferences/preferences.xul") ? true : false;145 return pContext.window.extPoints.readPref("scenariCore.preferences.url", "chrome://scenariCore/content/desks/prefDesk/prefDesk.xul") ? true : false; 146 146 } 147 147 actionShowPreferences.execute = function(pEvent, pContext){ 148 var vUrlPrefs = pContext.window.extPoints.readPref("scenariCore.preferences.url", "chrome://scenariC ms/content/preferences/preferences.xul");148 var vUrlPrefs = pContext.window.extPoints.readPref("scenariCore.preferences.url", "chrome://scenariCore/content/desks/prefDesk/prefDesk.xul"); 149 149 var vInstantApply = pContext.window.extPoints.readPref("browser.preferences.instantApply", false); 150 150 ui.openUniqueDialog("scenari:preferences", pContext.window, vUrlPrefs, "", "chrome,centerscreen,titlebar,toolbar,modal" + (vInstantApply ? ",dialog=no" : ""));
Note: See TracChangeset
for help on using the changeset viewer.