summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/preferences/applicationManager.xhtml
blob: 10c9346c0ff50816c1afd8696689aca586827017 (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
<?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/. -->

<?xml-stylesheet href="chrome://global/skin/global.css"?>
<?xml-stylesheet href="chrome://messenger/skin/input-fields.css"?>
<?xml-stylesheet href="chrome://messenger/skin/preferences/applications.css"?>

<!DOCTYPE window>

<window
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml"
  onload="gAppManagerDialog.init();"
  data-l10n-id="app-manager-window-dialog2"
  style="min-width: 30em"
>
  <dialog id="appManager" buttons="accept,cancel">
    <script src="chrome://global/content/preferencesBindings.js" />
    <script src="chrome://messenger/content/preferences/general.js" />
    <script src="chrome://messenger/content/preferences/applicationManager.js" />

    <commandset id="appManagerCommandSet">
      <command
        id="cmd_delete"
        oncommand="gAppManagerDialog.remove();"
        disabled="true"
      />
    </commandset>

    <keyset id="appManagerKeyset">
      <key id="delete" keycode="VK_DELETE" command="cmd_delete" />
    </keyset>

    <stringbundle
      id="appManagerBundle"
      src="chrome://messenger/locale/preferences/applicationManager.properties"
    />
    <stringbundle
      id="bundlePreferences"
      src="chrome://messenger/locale/preferences/preferences.properties"
    />

    <linkset>
      <html:link
        rel="localization"
        href="messenger/preferences/application-manager.ftl"
      />
    </linkset>

    <description id="appDescription" />
    <separator class="thin" />
    <hbox flex="1">
      <richlistbox
        id="appList"
        onselect="gAppManagerDialog.onSelect();"
        flex="1"
        style="min-height: 150px"
      />
      <vbox>
        <button
          id="remove"
          data-l10n-id="remove-app-button"
          command="cmd_delete"
        />
        <spacer flex="1" />
      </vbox>
    </hbox>
    <vbox id="appDetails">
      <separator class="thin" />
      <label id="appType" />
      <html:input id="appLocation" type="text" readonly="readonly" />
    </vbox>
  </dialog>
</window>