home *** CD-ROM | disk | FTP | other *** search
/ PC World 2005 July & August / PCWorld_2005-07-08_cd.bin / komunikace / netscape / nsb-install-8-0.exe / chrome / toolkit.jar / content / global / config.xul < prev    next >
Extensible Markup Language  |  2004-11-25  |  3KB  |  68 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/config.css" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://global/locale/config.dtd">
  6.  
  7. <window id="config"
  8.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  9.         width="750"
  10.         height="500"
  11.         onunload="onConfigUnload();"
  12.         onload="onConfigLoad();">
  13.  
  14. <script src="chrome://global/content/config.js"/>
  15.  
  16. <stringbundle id="configBundle" src="chrome://global/locale/config.properties"/>
  17.  
  18. <popup id="configContext" onpopupshowing="if (event.target == this) updateContextMenu();">
  19.   <menuitem id="copyName" label="©Name.label;" accesskey="©Name.accesskey;" oncommand="copyName();"/>
  20.   <menuitem id="copyValue" label="©Value.label;" accesskey="©Value.accesskey;" oncommand="copyValue();"/>
  21.   <menu label="&new.label;" accesskey="&new.accesskey;">
  22.     <menupopup>
  23.       <menuitem label="&string.label;" accesskey="&string.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_STRING);"/>
  24.       <menuitem label="&integer.label;" accesskey="&integer.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_INT);"/>
  25.       <menuitem label="&boolean.label;" accesskey="&boolean.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_BOOL);"/>
  26.     </menupopup>
  27.   </menu>
  28.   <menuitem id="toggleSelected" label="&toggle.label;" accesskey="&toggle.accesskey;" oncommand="ModifySelected();"/>
  29.   <menuitem id="modifySelected" label="&modify.label;" accesskey="&modify.accesskey;" oncommand="ModifySelected();"/>
  30.   <menuitem id="resetSelected" label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
  31. </popup>
  32.  
  33. <keyset>
  34.   <key keycode="VK_ENTER" oncommand="ModifySelected();"/>
  35.   <key keycode="VK_RETURN" oncommand="ModifySelected();"/>
  36. </keyset>
  37.  
  38. <hbox align="center">
  39.   <label value="&filterPrefs.label;" accesskey="&filterPrefs.accesskey;" control="textbox"/>
  40.   <textbox id="textbox" flex="1" type="timed" timeout="500" oncommand="FilterPrefs();"/>
  41.   <button id="button" label="&showAll.label;" accesskey="&showAll.accesskey;" oncommand="ClearFilter();" disabled="true"/>
  42. </hbox>
  43.  
  44. <tree id="configTree" flex="1" class="plain focusring" seltype="single"
  45.       enableColumnDrag="true" context="configContext">
  46.   <treecols>
  47.     <treecol id="prefCol" label="&prefColumn.label;" flex="7"
  48.         class="sortDirectionIndicator"
  49.         ignoreincolumnpicker="true"
  50.         persist="hidden width ordinal sortDirection"/>
  51.     <splitter class="tree-splitter" />
  52.     <treecol id="lockCol" label="&lockColumn.label;" flex="1"
  53.         class="sortDirectionIndicator"
  54.         persist="hidden width ordinal sortDirection"/>
  55.     <splitter class="tree-splitter" />
  56.     <treecol id="typeCol" label="&typeColumn.label;" flex="1"
  57.         class="sortDirectionIndicator"
  58.         persist="hidden width ordinal sortDirection"/>
  59.     <splitter class="tree-splitter" />
  60.     <treecol id="valueCol" label="&valueColumn.label;" flex="10"
  61.         class="sortDirectionIndicator"
  62.         persist="hidden width ordinal sortDirection"/>
  63.   </treecols>
  64.  
  65.   <treechildren id="configTreeBody" ondblclick="if (event.button == 0) ModifySelected();"/>
  66. </tree>
  67. </window>
  68.