summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/base/content/virtualFolderListEdit.xhtml
blob: 326892734a87c6c7509d13b6e9531fd931a4889c (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
<?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://messenger/skin/messenger.css"?>
<?xml-stylesheet href="chrome://messenger/skin/icons.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/colors.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/mailWindow1.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/themeableDialog.css" type="text/css"?>

<!DOCTYPE html SYSTEM "chrome://messenger/locale/virtualFolderListDialog.dtd">

<html
  id="virtualFolderList"
  xmlns="http://www.w3.org/1999/xhtml"
  xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml"
  lightweightthemes="true"
  persist="width height screenX screenY"
  width="400"
  height="370"
  windowtype="mailnews:virtualFolderList"
  scrolling="false"
>
  <head>
    <title>&virtualFolderListTitle.title;</title>
    <script
      defer="defer"
      src="chrome://messenger/content/dialogShadowDom.js"
    ></script>
    <script
      defer="defer"
      src="chrome://messenger/content/jsTreeView.js"
    ></script>
    <script
      defer="defer"
      src="chrome://messenger/content/virtualFolderListEdit.js"
    ></script>
    <style id="folderColorsStyle"></style>
  </head>
  <html:body
    xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  >
    <dialog>
      <stringbundle
        id="bundle_messenger"
        src="chrome://messenger/locale/messenger.properties"
      />

      <label control="folderPickerTree">&virtualFolderDesc.label;</label>
      <tree
        id="folderPickerTree"
        flex="1"
        style="height: 290px"
        hidecolumnpicker="true"
        seltype="multiple"
        disableKeyNavigation="true"
        simplelist="true"
        mode="virtual"
        onkeypress="gSelectVirtual.onKeyPress(event);"
        onclick="gSelectVirtual.onClick(event);"
      >
        <treecols>
          <treecol
            id="folderNameCol"
            label="&folderName.label;"
            style="flex: 10 10 auto"
            primary="true"
            crop="center"
          />
          <treecol
            id="selectedCol"
            label="&folderSearch.label;"
            style="flex: 1 auto"
            cycler="true"
          />
        </treecols>
        <treechildren />
      </tree>
    </dialog>
  </html:body>
</html>