summaryrefslogtreecommitdiffstats
path: root/comm/suite/components/pref/content/pref-search.xul
blob: e3eaa61701a6e35721dd21ada16bba0d07b1ea0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE overlay SYSTEM "chrome://communicator/locale/pref/pref-search.dtd">
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <prefpane id="search_pane"
            label="&pref.search.title;"
            script="chrome://communicator/content/pref/pref-search.js">

    <preferences id="search_preferences">
      <preference id="browser.search.openintab"
                  name="browser.search.openintab"
                  type="bool"/>
      <preference id="browser.search.opentabforcontextsearch"
                  name="browser.search.opentabforcontextsearch"
                  type="bool"/>
    </preferences>

    <groupbox>
      <caption label="&legendHeader;"/>

      <hbox align="center">
        <label value="&defaultSearchEngine.label;"
               accesskey="&defaultSearchEngine.accesskey;"
               control="engineList"/>
        <menulist id="engineList"
                  oncommand="UpdateDefaultEngine(this.selectedItem)"/>
      </hbox>
      <hbox pack="end">
        <button id="managerButton"
                label="&engineManager.label;"
                oncommand="OpenSearchEngineManager();"/>
      </hbox>
    </groupbox>

    <groupbox>
      <caption label="&searchResults.label;"/>
      <checkbox id="openSearchTab"
                label="&openInTab.label;"
                accesskey="&openInTab.accesskey;"
                preference="browser.search.openintab"/>
      <checkbox id="openContextSearchTab"
                label="&openContextSearchTab.label;"
                accesskey="&openContextSearchTab.accesskey;"
                preference="browser.search.opentabforcontextsearch"/>
    </groupbox>
  </prefpane>
</overlay>