Changeset 15082


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

restruct fenetre de preferences SC4 (en cours)

Location:
trunk
Files:
8 added
2 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" : "")); 
  • trunk/Xul_XedLib/scenariXedLib.manifest

    r14716 r15082  
    11content scenariXedLib ##target.content.uri##/content/scenariXedLib/ xpcnativewrappers=no 
    22content scenariXedLib-platform ##target.content.uri##/content/scenariXedLib-platform/ platform xpcnativewrappers=no 
     3 
     4# Declaration des extPoints 
     5overlay chrome://scenariCore/content/desks/prefDesk/extPoint.js chrome://scenariXedLib/content/preferences/prefDesk.extPoints.js 
Note: See TracChangeset for help on using the changeset viewer.