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 / toolkit.jar / content / global / config.xul < prev    next >
Extensible Markup Language  |  2003-06-13  |  4KB  |  93 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/content/config.css" type="text/css"?>
  4.  
  5. <!--
  6. The contents of this file are subject to the Netscape Public
  7. License Version 1.1 (the "License"); you may not use this file
  8. except in compliance with the License. You may obtain a copy of
  9. the License at http://www.mozilla.org/NPL/
  10.  
  11. Software distributed under the License is distributed on an "AS
  12. IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  13. implied. See the License for the specific language governing
  14. rights and limitations under the License.
  15.  
  16. The Original Code is Mozilla Communicator client code, released
  17. March 31, 1998.
  18.  
  19. The Initial Developer of the Original Code is Netscape
  20. Communications Corporation. Portions created by Netscape are
  21.  Copyright (C) 1998-1999 Netscape Communications Corporation. All
  22. Rights Reserved.
  23.  
  24. Contributors:
  25. Chip Clark <chipc@netscape.com>
  26. Seth Spitzer <sspitzer@netscape.com>
  27. Neil Rashbrook <neil@parkwaycc.co.uk>
  28. -->
  29.  
  30. <!DOCTYPE window SYSTEM "chrome://global/locale/config.dtd">
  31.  
  32. <window id="config"
  33.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  34.         width="750"
  35.         height="500"
  36.         onunload="onConfigUnload();"
  37.         onload="onConfigLoad();">
  38.  
  39. <script src="chrome://global/content/config.js"/>
  40.  
  41. <stringbundle id="configBundle" src="chrome://global/locale/config.properties"/>
  42.  
  43. <popup id="configContext" onpopupshowing="return updateContextMenu(this);">
  44.   <menuitem label="©Name.label;" accesskey="©Name.accesskey;" oncommand="copyName();"/>
  45.   <menuitem label="©Value.label;" accesskey="©Value.accesskey;" oncommand="copyValue();"/>
  46.   <menu label="&new.label;" accesskey="&new.accesskey;">
  47.     <menupopup>
  48.       <menuitem label="&string.label;" accesskey="&string.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_STRING);"/>
  49.       <menuitem label="&integer.label;" accesskey="&integer.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_INT);"/>
  50.       <menuitem label="&boolean.label;" accesskey="&boolean.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_BOOL);"/>
  51.     </menupopup>
  52.   </menu>
  53.   <menuitem label="&modify.label;" accesskey="&modify.accesskey;" oncommand="ModifySelected();"/>
  54.   <menuitem label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
  55. </popup>
  56.  
  57. <keyset>
  58.   <key keycode="VK_ENTER" oncommand="ModifySelected();"/>
  59.   <key keycode="VK_RETURN" oncommand="ModifySelected();"/>
  60. </keyset>
  61.  
  62. <hbox align="center">
  63.   <label value="&filterPrefs.label;" accesskey="&filterPrefs.accesskey;" control="textbox"/>
  64.   <textbox id="textbox" flex="1" type="timed" timeout="500" oncommand="FilterPrefs();"/>
  65.   <button id="button" label="&showAll.label;" accesskey="&showAll.accesskey;" oncommand="ClearFilter();" disabled="true"/>
  66. </hbox>
  67.  
  68. <tree id="configTree" flex="1" class="plain focusring" seltype="single"
  69.       enableColumnDrag="true" context="configContext">
  70.   <treecols>
  71.     <treecol id="prefCol" label="&prefColumn.label;" flex="7"
  72.         class="sortDirectionIndicator"
  73.         ignoreincolumnpicker="true"
  74.         persist="hidden width ordinal sortDirection"/>
  75.     <splitter class="tree-splitter" />
  76.     <treecol id="lockCol" label="&lockColumn.label;" flex="1"
  77.         class="sortDirectionIndicator"
  78.         persist="hidden width ordinal sortDirection"/>
  79.     <splitter class="tree-splitter" />
  80.     <treecol id="typeCol" label="&typeColumn.label;" flex="1"
  81.         class="sortDirectionIndicator"
  82.         persist="hidden width ordinal sortDirection"/>
  83.     <splitter class="tree-splitter" />
  84.     <treecol id="valueCol" label="&valueColumn.label;" flex="10"
  85.         class="sortDirectionIndicator"
  86.         persist="hidden width ordinal sortDirection"/>
  87.   </treecols>
  88.  
  89.   <treechildren id="configTreeBody" ondblclick="if (event.button == 0) ModifySelected();"/>
  90. </tree>
  91. </window>
  92.  
  93.