summaryrefslogtreecommitdiffstats
path: root/application/palemoon/components/preferences/applications.xul
blob: 2e6fa549ef064ec22296081daf96b63218cdbd5a (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?xml version="1.0"?>

<!-- -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- -->
<!-- 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 [
  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
  <!ENTITY % applicationsDTD SYSTEM "chrome://browser/locale/preferences/applications.dtd">
  %brandDTD;
  %applicationsDTD;
]>

<overlay id="ApplicationsPaneOverlay"
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <prefpane id="paneApplications"
            onpaneload="gApplicationsPane.init();"
            flex="1"
            helpTopic="prefs-applications">

    <preferences id="feedsPreferences">
      <preference id="browser.feeds.handler"
                  name="browser.feeds.handler"
                  type="string"/>
      <preference id="browser.feeds.handler.default"
                  name="browser.feeds.handler.default"
                  type="string"/>
      <preference id="browser.feeds.handlers.application"
                  name="browser.feeds.handlers.application"
                  type="file"/>
      <preference id="browser.feeds.handlers.webservice"
                  name="browser.feeds.handlers.webservice"
                  type="string"/>

      <preference id="browser.videoFeeds.handler"
                  name="browser.videoFeeds.handler"
                  type="string"/>
      <preference id="browser.videoFeeds.handler.default"
                  name="browser.videoFeeds.handler.default"
                  type="string"/>
      <preference id="browser.videoFeeds.handlers.application"
                  name="browser.videoFeeds.handlers.application"
                  type="file"/>
      <preference id="browser.videoFeeds.handlers.webservice"
                  name="browser.videoFeeds.handlers.webservice"
                  type="string"/>

      <preference id="browser.audioFeeds.handler"
                  name="browser.audioFeeds.handler"
                  type="string"/>
      <preference id="browser.audioFeeds.handler.default"
                  name="browser.audioFeeds.handler.default"
                  type="string"/>
      <preference id="browser.audioFeeds.handlers.application"
                  name="browser.audioFeeds.handlers.application"
                  type="file"/>
      <preference id="browser.audioFeeds.handlers.webservice"
                  name="browser.audioFeeds.handlers.webservice"
                  type="string"/>

      <preference id="pref.downloads.disable_button.edit_actions"
                  name="pref.downloads.disable_button.edit_actions"
                  type="bool"/>
    </preferences>

    <script type="application/javascript" src="chrome://browser/content/preferences/applications.js"/>

    <keyset>
      <key key="&focusSearch1.key;" modifiers="accel" oncommand="gApplicationsPane.focusFilterBox();"/>
      <key key="&focusSearch2.key;" modifiers="accel" oncommand="gApplicationsPane.focusFilterBox();"/>
    </keyset>

    <hbox>
      <textbox id="filter" flex="1"
               type="search"
               placeholder="&filter.emptytext;"
               aria-controls="handlersView"
               oncommand="gApplicationsPane.filter();"/>
    </hbox>

    <separator class="thin"/>

    <richlistbox id="handlersView" orient="vertical" persist="lastSelectedType"
                 preference="pref.downloads.disable_button.edit_actions"
                 onselect="gApplicationsPane.onSelectionChanged();">
      <listheader equalsize="always" style="border: 0; padding: 0; -moz-appearance: none;">
        <treecol id="typeColumn" label="&typeColumn.label;" value="type"
                 accesskey="&typeColumn.accesskey;" persist="sortDirection"
                 flex="1" onclick="gApplicationsPane.sort(event);"
                 sortDirection="ascending"/>
        <treecol id="actionColumn" label="&actionColumn2.label;" value="action"
                 accesskey="&actionColumn2.accesskey;" persist="sortDirection"
                 flex="1" onclick="gApplicationsPane.sort(event);"/>
      </listheader>
    </richlistbox>
  </prefpane>
</overlay>