browser/components/search/content/engineManager.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <?xml version="1.0"?>
michael@0 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 5
michael@0 6 <?xml-stylesheet href="chrome://global/skin/"?>
michael@0 7 <?xml-stylesheet href="chrome://browser/skin/engineManager.css"?>
michael@0 8
michael@0 9 <!DOCTYPE dialog SYSTEM "chrome://browser/locale/engineManager.dtd">
michael@0 10
michael@0 11 <dialog id="engineManager"
michael@0 12 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 13 buttons="accept,cancel,extra2"
michael@0 14 buttonlabelextra2="&restoreDefaults.label;"
michael@0 15 buttonaccesskeyextra2="&restoreDefaults.accesskey;"
michael@0 16 onload="gEngineManagerDialog.init();"
michael@0 17 onunload="gEngineManagerDialog.destroy();"
michael@0 18 ondialogaccept="gEngineManagerDialog.onOK();"
michael@0 19 ondialogextra2="gEngineManagerDialog.onRestoreDefaults();"
michael@0 20 title="&engineManager.title;"
michael@0 21 style="&engineManager.style;"
michael@0 22 persist="screenX screenY width height"
michael@0 23 windowtype="Browser:SearchManager">
michael@0 24
michael@0 25 <script type="application/javascript"
michael@0 26 src="chrome://browser/content/search/engineManager.js"/>
michael@0 27
michael@0 28 <commandset id="engineManagerCommandSet">
michael@0 29 <command id="cmd_remove"
michael@0 30 oncommand="gEngineManagerDialog.remove();"
michael@0 31 disabled="true"/>
michael@0 32 <command id="cmd_moveup"
michael@0 33 oncommand="gEngineManagerDialog.bump(1);"
michael@0 34 disabled="true"/>
michael@0 35 <command id="cmd_movedown"
michael@0 36 oncommand="gEngineManagerDialog.bump(-1);"
michael@0 37 disabled="true"/>
michael@0 38 <command id="cmd_editkeyword"
michael@0 39 oncommand="gEngineManagerDialog.editKeyword();"
michael@0 40 disabled="true"/>
michael@0 41 </commandset>
michael@0 42
michael@0 43 <keyset id="engineManagerKeyset">
michael@0 44 <key id="delete" keycode="VK_DELETE" command="cmd_remove"/>
michael@0 45 </keyset>
michael@0 46
michael@0 47 <stringbundleset id="engineManagerBundleset">
michael@0 48 <stringbundle id="engineManagerBundle" src="chrome://browser/locale/engineManager.properties"/>
michael@0 49 </stringbundleset>
michael@0 50
michael@0 51 <description>&engineManager.intro;</description>
michael@0 52 <separator class="thin"/>
michael@0 53 <hbox flex="1">
michael@0 54 <tree id="engineList" flex="1" rows="10" hidecolumnpicker="true"
michael@0 55 seltype="single" onselect="gEngineManagerDialog.onSelect();">
michael@0 56 <treechildren id="engineChildren" flex="1"
michael@0 57 ondragstart="onDragEngineStart(event);"/>
michael@0 58 <treecols>
michael@0 59 <treecol id="engineName" flex="4" label="&columnLabel.name;"/>
michael@0 60 <treecol id="engineKeyword" flex="1" label="&columnLabel.keyword;"/>
michael@0 61 </treecols>
michael@0 62 </tree>
michael@0 63 <vbox>
michael@0 64 <spacer flex="1"/>
michael@0 65 <button id="edit"
michael@0 66 label="&edit.label;"
michael@0 67 accesskey="&edit.accesskey;"
michael@0 68 command="cmd_editkeyword"/>
michael@0 69 <button id="up"
michael@0 70 label="&up.label;"
michael@0 71 accesskey="&up.accesskey;"
michael@0 72 command="cmd_moveup"/>
michael@0 73 <button id="down"
michael@0 74 label="&dn.label;"
michael@0 75 accesskey="&dn.accesskey;"
michael@0 76 command="cmd_movedown"/>
michael@0 77 <spacer flex="1"/>
michael@0 78 <button id="remove"
michael@0 79 label="&remove.label;"
michael@0 80 accesskey="&remove.accesskey;"
michael@0 81 command="cmd_remove"/>
michael@0 82 </vbox>
michael@0 83 </hbox>
michael@0 84 <hbox>
michael@0 85 <checkbox id="enableSuggest"
michael@0 86 label="&enableSuggest.label;"
michael@0 87 accesskey="&enableSuggest.accesskey;"/>
michael@0 88 </hbox>
michael@0 89 <hbox>
michael@0 90 <label id="addEngines" class="text-link" value="&addEngine.label;"
michael@0 91 onclick="if (event.button == 0) { gEngineManagerDialog.loadAddEngines(); }"/>
michael@0 92 </hbox>
michael@0 93 </dialog>

mercurial