chat/content/browserRequest.xul
author Mark Banner <bugzilla@standard8.plus.com>
Mon, 01 Oct 2012 21:33:18 +0100
changeset 13467 f521dad4966d897becf28c7f976455677bda2459
parent 12286 84ac3c71109811da751f0ef2d72108075938f094
child 19292 f81a23bfefcd0f6ec6215fbde12f8af2bc7749f1
permissions -rw-r--r--
Bug 674742 Improve error handling to do our best to avoid removing folder files when rename fails during the compact process. Based on a patch suggested by Andrew (skm) r=rkent,a=Standard8

<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://chat/skin/browserRequest.css" type="text/css"?>

<!DOCTYPE window>
<window id="browserRequest"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        buttons=","
        onload="loadRequestedUrl()"
        onclose="reportUserClosed()"
        title=""
        width="800"
        height="500"
        orient="vertical">

  <script type="application/javascript" src="chrome://chat/content/browserRequest.js"/>

  <keyset id="mainKeyset">
    <key id="key_close"   key="w" modifiers="accel" oncommand="cancelRequest()"/>
    <key id="key_close2"  keycode="VK_ESCAPE" oncommand="cancelRequest()"/>
  </keyset>
  <hbox id="header">
    <image id="headerImage" src="chrome://chat/skin/prpl-generic/icon32.png"/>
    <vbox>
    <label id="headerLabel"/>
    <description id="headerMessage"/>
    </vbox>
  </hbox>
  <browser type="content" disablehistory="true" src="about:blank" id="requestFrame" flex="1"/>
  <statusbar>
    <statusbarpanel id="security-display" crop="end" flex="1"/>
    <statusbarpanel id="security-status" crop="end" collapsed="true"/>
    <statusbarpanel class="statusbarpanel-progress" collapsed="true" id="statusbar-status">
      <progressmeter class="progressmeter-statusbar" id="statusbar-icon" mode="normal" value="0"/>
    </statusbarpanel>
    <statusbarpanel id="security-button" class="statusbarpanel-iconic"/>
  </statusbar>
</window>