home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 December / PCWDEC07.iso / Software / Freeware / FlashGot 0.6.4 / chrome / flashgot.jar / content / flashgot / flashgotOverlayTB.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-08-29  |  7.0 KB  |  181 lines

  1. <?xml version="1.0"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.  
  4.     FlashGot - a Firefox extension for external download managers integration
  5.     Copyright (C) 2004-2006 Giorgio Maone - g.maone@informaction.com
  6.  
  7. ***** END LICENSE BLOCK ***** -->
  8.  
  9. <!DOCTYPE overlay [
  10. <!ENTITY % flashgot SYSTEM "chrome://flashgot/locale/flashgot.dtd" >
  11. %flashgot;
  12. <!ENTITY % flashgotFB  SYSTEM "chrome://flashgot/content/en-US/flashgot.dtd" >
  13. %flashgotFB;
  14. ]
  15. >
  16.  
  17. <?xml-stylesheet href="chrome://flashgot/skin/browser.css" type="text/css"?>
  18. <overlay id="flashgotOverlay" 
  19.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  20.  
  21.  
  22. <script type="application/x-javascript" src="flashgotCommon.js"/>
  23. <script type="application/x-javascript" src="flashgotOverlay.js"/>
  24.  
  25. <keyset id="mailKeys">
  26.   <key id="flashgot-link-key" keycode="VK_F1" modifiers="accel" oncommand="gFlashGot.downloadLink()" />
  27.   <key id="flashgot-sel-key" keycode="VK_F2" modifiers="accel" oncommand="gFlashGot.delayCmd('Sel')"/>
  28.   <key id="flashgot-all-key" keycode="VK_F3" modifiers="accel" oncommand="gFlashGot.delayCmd('All')"/>
  29. </keyset>
  30.  
  31.  <menupopup id="taskPopup">
  32.   <menu id="flashgot-menu" label="FlashGot" insertbefore="prefSep"
  33.      class="menu-iconic flashgot-icon-lnk"
  34.   >
  35.   <menupopup id="flashgot-menu-popup" 
  36.     onpopupshowing="gFlashGot.prepareToolsMenu(event)">
  37.     <menuitem id="flashgot-main-menuitem-sel"
  38.         label="&flashgotSel;"  
  39.         accesskey="&flashgotSel.accesskey;"
  40.         oncommand="gFlashGot.delayCmd('Sel')"
  41.         key="flashgot-sel-key"
  42.         class="menuitem-iconic flashgot-icon-sel"
  43.         disabled="true"
  44.     />
  45.     <menuitem id="flashgot-main-menuitem-all"
  46.         label="&flashgotAll;" 
  47.         accesskey="&flashgotAll.accesskey;"
  48.         oncommand="gFlashGot.delayCmd('All')"
  49.         key="flashgot-all-key"
  50.         class="menuitem-iconic flashgot-icon-all"
  51.         disabled="true"
  52.         />
  53.     <menuitem id="flashgot-main-menuitem-buildGallery"
  54.       label="&flashgotBuildGallery;"
  55.       class="menuitem-iconic flashgot-icon-buildGallery"  
  56.       oncommand="gFlashGot.buildGallery()"
  57.       disabled="true"
  58.     />
  59.     <menuseparator />
  60.      <menuitem id="flashgot-main-menuitem-opt-autoStart"
  61.       label="&flashgotAutostart;"
  62.       type="checkbox"
  63.       oncommand="gFlashGot.switchOption('autoStart')"
  64.     />
  65.     <menuitem id="flashgot-main-menuitem-opt-includeImages"
  66.       label="&includeImages.label;"
  67.       type="checkbox"
  68.       oncommand="gFlashGot.switchOption('includeImages')"
  69.     />
  70.     <menuitem id="flashgot-main-menuitem-opts"
  71.       label="&flashgotMoreOpts;"
  72.       oncommand="gFlashGot.openOptionsDialog()"
  73.       class="menuitem-iconic flashgot-icon-opts"  
  74.     />
  75.     <menuseparator />
  76.     <menuitem id="flashgot-tb-about" label="&flashgotAbout;"
  77.       oncommand="gFlashGot.openAboutDialog()"
  78.     />
  79.     <menuitem id="flashgot-tb-homepage"
  80.               label="&flashgotVisitHomepage;"
  81.               oncommand="gFlashGot.browseHomePage()"
  82.             />
  83.   </menupopup>
  84.   </menu>
  85.  </menupopup>
  86.  
  87.  <popup id="messagePaneContext">
  88.    <menu id="flashgot-submenu" hidden="true" persist="hidden"
  89.       label="FlashGot" class="menu-iconic flashgot-icon-lnk"
  90.       >
  91.       <menupopup>
  92.         <menuseparator id="flashgot-submenu-anchor" hidden="true" />
  93.         <menuseparator id="flashgot-submenu-anchor" hidden="true" />
  94.             <menuitem id="flashgot-menuitem-it"
  95.           label="&flashgotLink;" 
  96.           accesskey="&flashgotLink.accesskey;"
  97.           oncommand="gFlashGot.downloadPopupLink()"
  98.           key="flashgot-link-key"
  99.           class="menuitem-iconic flashgot-icon-lnk"
  100.         />
  101.         <menuitem id="flashgot-menuitem-sel"
  102.           label="&flashgotSel;"  
  103.           accesskey="&flashgotSel.accesskey;"
  104.           oncommand="gFlashGot.delayCmd('Sel')"
  105.           key="flashgot-sel-key"
  106.           class="menuitem-iconic flashgot-icon-sel"
  107.         />
  108.         <menuitem id="flashgot-menuitem-all" 
  109.             label="&flashgotAll;" 
  110.             accesskey="&flashgotAll.accesskey;"
  111.             oncommand="gFlashGot.delayCmd('All')"
  112.             key="flashgot-all-key"
  113.             class="menuitem-iconic flashgot-icon-all"
  114.           />
  115.         <menuitem id="flashgot-menuitem-tabs"
  116.             label="&flashgotTabs;" 
  117.             accesskey="&flashgotTabs.accesskey;"
  118.             oncommand="gFlashGot.delayCmd('Tabs')"
  119.             key="flashgot-tabs-key"
  120.             class="menuitem-iconic flashgot-icon-tabs"
  121.           />     
  122.         <menuitem id="flashgot-menuitem-autotest" 
  123.           label="Autotest" hidden="true"
  124.           oncommand="gFlashGot.autotest()"
  125.         />  
  126.         <menuitem id="flashgot-menuitem-buildGallery"
  127.           label="&flashgotBuildGallery;"
  128.           class="menuitem-iconic flashgot-icon-buildGallery"  
  129.           oncommand="gFlashGot.buildGallery()"
  130.         />
  131.         <menu id="flashgot-menu-options"
  132.           class="menu-iconic flashgot-icon-opts"  
  133.           label="&flashgotOptions;" >
  134.           <menupopup id="flashgot-menupopup-options" onpopupshowing="gFlashGot.prepareOptsMenu(event.target)">
  135.             <menuitem id="flashgot-ctx-menuitem-nodms" hidden="true"
  136.               label="&flashgotNoDMS;"
  137.               oncommand="gFlashGotService.showDMSReference()"
  138.               />
  139.             <menuseparator id="flashgot-ctx-sep-nodms" />
  140.              <menuitem id="flashgot-ctx-menuitem-opt-autoStart"
  141.               label="&flashgotAutostart;"
  142.               type="checkbox"
  143.               oncommand="gFlashGot.switchOption('autoStart')"
  144.               />
  145.             <menuitem id="flashgot-ctx-menuitem-opt-includeImages"
  146.               label="&includeImages.label;"
  147.               type="checkbox"
  148.               oncommand="gFlashGot.switchOption('includeImages')"
  149.               />
  150.             <menuitem id="flashgot-ctx-menuitem-opts"
  151.               label="&flashgotMoreOpts;"
  152.               oncommand="gFlashGot.openOptionsDialog()"
  153.             />
  154.             <menuseparator id="flashgot-ctx-sep-about" />
  155.             <menuitem id="flashgot-ctx-menuitem-about"
  156.               label="&flashgotAbout;"
  157.               oncommand="gFlashGot.openAboutDialog()"
  158.             />
  159.             <menuitem id="flashgot-ctx-homepage"
  160.               label="&flashgotVisitHomepage;"
  161.               oncommand="gFlashGot.browseHomePage()"
  162.             />
  163.           </menupopup>
  164.         </menu>
  165.       </menupopup>
  166.    </menu>  
  167.    <menuseparator id="flashgot-context-separator" hidden="true" /> 
  168.    <menuseparator id="flashgot-context-separator2" hidden="true" />   
  169.   </popup>
  170.   
  171.   <statusbar id="status-bar">
  172.     <statusbarpanel id="flashgot-progresspanel" insertafter="flashgot-statusbarpanel,statusbar-progresspanel,statusbar-display" 
  173.       class="statusbarpanel-progress" collapsed="true">
  174.       <label plain="true" value="FlashGot" />
  175.       <progressmeter id="flashgot-progressmeter" class="progressmeter-status" mode="normal" value="0" />
  176.     </statusbarpanel>
  177.      
  178.   </statusbar>
  179.   
  180. </overlay>
  181.