Ignore:
Timestamp:
03/08/10 23:21:57 (2 years ago)
Author:
anp
Message:

restruct fenetre de preferences SC4 (en cours)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Xul_Core/modules/scenariCore/defaultActions.jsm

    r14870 r15082  
    143143var actionShowPreferences = new actions.Action("actionShowPreferences").setGroup("pref").setLabel("Préférences..."); 
    144144actionShowPreferences.isVisible = function(pContext){ 
    145         return pContext.window.extPoints.readPref("scenariCore.preferences.url", "chrome://scenariCms/content/preferences/preferences.xul") ? true : false; 
     145        return pContext.window.extPoints.readPref("scenariCore.preferences.url", "chrome://scenariCore/content/desks/prefDesk/prefDesk.xul") ? true : false; 
    146146} 
    147147actionShowPreferences.execute = function(pEvent, pContext){ 
    148         var vUrlPrefs = pContext.window.extPoints.readPref("scenariCore.preferences.url", "chrome://scenariCms/content/preferences/preferences.xul"); 
     148        var vUrlPrefs = pContext.window.extPoints.readPref("scenariCore.preferences.url", "chrome://scenariCore/content/desks/prefDesk/prefDesk.xul"); 
    149149        var vInstantApply = pContext.window.extPoints.readPref("browser.preferences.instantApply", false); 
    150150        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.