xpfe/communicator/resources/content/utilityOverlay.js - Revision 1.54

There were 3 changes made.
Legend
   Added lines
   Changed lines
   Removed lines

xpfe/communicator/resources/content/utilityOverlay.js,1.54
.
Disk File
Skipping to line 117. 
  } catch(e) {
.
  } catch(e) {
  }
.
  }
  return "chrome://navigator/content/navigator.xul";
.
  return "chrome://navigator/content/navigator.xul";
}
.
}
 
.
 
function goPageSetup()
.
function goPageSetup(printSettings)
{
.
{
 
.
  if (printSettings == null) {
 
.
    alert("PrintSettings arg is null!");
 
.
  }
  // This code brings up the native page setup dialog (for platforms that
.
  // This code brings up the native page setup dialog (for platforms that
  // implement nsIPrintOptions.ShowNativeDialog()).  
.
  // implement nsIPrintOptions.ShowNativeDialog()).  
  var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;
1"]
.
  window.openDialog("chrome://communicator/content/printPageSetup.xul","PageSe
tup", "chrome,modal,centerscreen", printSettings);
                                           .getService(Components.interfaces.n
sIPrintOptions);
.
 
 
  printOptionsService.ReadPrefs();
.
 
  printOptionsService.ShowNativeDialog();
.
 
  printOptionsService.WritePrefs();
.
 
}
.
}
 
.
 
function goPreferences(containerID, paneURL, itemID)
.
function goPreferences(containerID, paneURL, itemID)
{
.
{
  var resizable;
.
  var resizable;