Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / browser / components / search / content / engineManager.xul
blobf8b1134bd3998ca65597803f103cf4ff766d672c
1 <?xml version="1.0"?>
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Original Code is the Browser Search Service.
17 # The Initial Developer of the Original Code is
18 # Google Inc.
19 # Portions created by the Initial Developer are Copyright (C) 2005
20 # the Initial Developer. All Rights Reserved.
22 # Contributor(s):
23 # Ben Goodger <beng@google.com> (Original author)
24 # Gavin Sharp <gavin@gavinsharp.com>
26 # Alternatively, the contents of this file may be used under the terms of
27 # either the GNU General Public License Version 2 or later (the "GPL"), or
28 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 # in which case the provisions of the GPL or the LGPL are applicable instead
30 # of those above. If you wish to allow use of your version of this file only
31 # under the terms of either the GPL or the LGPL, and not to allow others to
32 # use your version of this file under the terms of the MPL, indicate your
33 # decision by deleting the provisions above and replace them with the notice
34 # and other provisions required by the GPL or the LGPL. If you do not delete
35 # the provisions above, a recipient may use your version of this file under
36 # the terms of any one of the MPL, the GPL or the LGPL.
38 # ***** END LICENSE BLOCK *****
40 <?xml-stylesheet href="chrome://global/skin/"?>
41 <?xml-stylesheet href="chrome://browser/skin/engineManager.css"?>
43 <!DOCTYPE dialog SYSTEM "chrome://browser/locale/engineManager.dtd">
45 <dialog id="engineManager"
46 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
47 buttons="accept,cancel,extra2"
48 buttonlabelextra2="&restoreDefaults.label;"
49 buttonaccesskeyextra2="&restoreDefaults.accesskey;"
50 onload="gEngineManagerDialog.init();"
51 ondialogaccept="gEngineManagerDialog.onOK();"
52 ondialogcancel="gEngineManagerDialog.onCancel();"
53 ondialogextra2="gEngineManagerDialog.onRestoreDefaults();"
54 title="&engineManager.title;"
55 style="&engineManager.style;"
56 persist="screenX screenY"
57 windowtype="Browser:SearchManager">
59 <script type="application/x-javascript"
60 src="chrome://browser/content/search/engineManager.js"/>
61 <script type="application/x-javascript"
62 src="chrome://global/content/nsDragAndDrop.js"/>
64 <commandset id="engineManagerCommandSet">
65 <command id="cmd_remove"
66 oncommand="gEngineManagerDialog.remove();"
67 disabled="true"/>
68 <command id="cmd_moveup"
69 oncommand="gEngineManagerDialog.bump(1);"
70 disabled="true"/>
71 <command id="cmd_movedown"
72 oncommand="gEngineManagerDialog.bump(-1);"
73 disabled="true"/>
74 <command id="cmd_editkeyword"
75 oncommand="gEngineManagerDialog.editKeyword();"
76 disabled="true"/>
77 </commandset>
79 <keyset id="engineManagerKeyset">
80 <key id="delete" keycode="VK_DELETE" command="cmd_remove"/>
81 </keyset>
83 <stringbundleset id="engineManagerBundleset">
84 <stringbundle id="engineManagerBundle" src="chrome://browser/locale/engineManager.properties"/>
85 </stringbundleset>
87 <description>&engineManager.intro;</description>
88 <separator class="thin"/>
89 <hbox flex="1">
90 <tree id="engineList" flex="1" rows="10" hidecolumnpicker="true"
91 seltype="single" onselect="gEngineManagerDialog.onSelect();">
92 <treechildren id="engineChildren" flex="1"
93 ondraggesture="nsDragAndDrop.startDrag(event, gDragObserver);"/>
94 <treecols>
95 <treecol id="engineName" flex="4" label="&columnLabel.name;"/>
96 <treecol id="engineKeyword" flex="1" label="&columnLabel.keyword;"/>
97 </treecols>
98 </tree>
99 <vbox>
100 <spacer flex="1"/>
101 <button id="edit"
102 label="&edit.label;"
103 accesskey="&edit.accesskey;"
104 command="cmd_editkeyword"/>
105 <button id="up"
106 label="&up.label;"
107 accesskey="&up.accesskey;"
108 command="cmd_moveup"/>
109 <button id="dn"
110 label="&dn.label;"
111 accesskey="&dn.accesskey;"
112 command="cmd_movedown"/>
113 <spacer flex="1"/>
114 <button id="remove"
115 label="&remove.label;"
116 accesskey="&remove.accesskey;"
117 command="cmd_remove"/>
118 </vbox>
119 </hbox>
120 <hbox>
121 <checkbox id="enableSuggest"
122 label="&enableSuggest.label;"
123 accesskey="&enableSuggest.accesskey;"/>
124 <spacer flex="1"/>
125 </hbox>
126 <hbox>
127 <label id="addEngines" class="text-link" value="&addEngine.label;"
128 onclick="if (event.button == 0) { gEngineManagerDialog.loadAddEngines(); }"/>
129 <spacer flex="1"/>
130 </hbox>
131 </dialog>