home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 March / PCWorld_2007-03_cd.bin / komunikace / nvu / nvu-1.0-cs-CZ.win32.installer.exe / chrome / help.jar / content / help / customizeToolbar.xul < prev    next >
Extensible Markup Language  |  2005-06-21  |  2KB  |  64 lines

  1. <?xml version="1.0"?> 
  2.  
  3. <!DOCTYPE dialog [
  4. <!ENTITY % customizeToolbarDTD SYSTEM "chrome://global/locale/customizeToolbar.dtd">
  5.   %customizeToolbarDTD;
  6. ]>
  7.  
  8. <?xml-stylesheet href="chrome://global/content/customizeToolbar.css" type="text/css"?>
  9. <?xml-stylesheet href="chrome://global/skin/customizeToolbar.css" type="text/css"?>
  10. <?xml-stylesheet href="chrome://help/skin/" type="text/css"?>
  11.  
  12. <window id="CustomizeToolbarWindow"
  13.         title="&dialog.title;"
  14.         onload="onLoad();"
  15.         onunload="onUnload();"
  16.         onclose="onAccept(); return false;"
  17.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  18.  
  19. <script type="application/x-javascript" src="chrome://global/content/customizeToolbar.js"/>
  20. <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  21. <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"/>
  22.  
  23. <stringbundle id="stringBundle" src="chrome://global/locale/customizeToolbar.properties"/>
  24.  
  25. <keyset>
  26.   <key id="cmd_close_sheet" keycode="VK_ESCAPE" oncommand="onAccept();"/>
  27.   <key id="cmd_close_sheet" keycode="VK_RETURN" oncommand="onAccept();"/>
  28.   <key id="cmd_close_sheet" keycode="VK_ENTER" oncommand="onAccept();"/>
  29. </keyset>
  30.  
  31. <vbox id="main-box" flex="1" collapsed="true">
  32.   <description id="instructions">
  33.   &instructions.description;
  34.   </description>
  35.  
  36.   <vbox flex="1" id="palette-box"
  37.         ondraggesture="gDraggingFromPalette = true; nsDragAndDrop.startDrag(event, dragStartObserver);"
  38.         ondragover="nsDragAndDrop.dragOver(event, paletteDNDObserver);"
  39.         ondragdrop="nsDragAndDrop.drop(event, paletteDNDObserver);"/>
  40.  
  41.   <box align="center">
  42.     <label value="&show.label;"/>
  43.     <menulist id="modelist" value="icons" oncommand="updateToolbarMode(this.value);">
  44.       <menupopup>
  45.         <menuitem value="full" label="&iconsAndText.label;"/>
  46.         <menuitem value="icons" label="&icons.label;"/>
  47.         <menuitem value="text" label="&text.label;"/>
  48.       </menupopup>
  49.     </menulist>
  50.     
  51.     <checkbox id="smallicons" oncommand="updateIconSize(this.checked);" label="&useSmallIcons.label;"/>
  52.  
  53.     <button label="&restoreDefaultSet.label;" oncommand="restoreDefaultSet();"/>
  54.   </box>
  55.  
  56.   <separator class="groove"/>
  57.  
  58.   <hbox align="center" pack="end">
  59.     <button label="&saveChanges.label;" oncommand="onAccept();" default="true"/>
  60.   </hbox>
  61. </vbox>
  62.  
  63. </window>
  64.