summaryrefslogtreecommitdiffstats
path: root/comm/suite/mailnews/components/calendar/content/suite-overlay-preferences.xhtml
blob: 0e7aad33df7a8c5c9d676b16a9d2aa109b040399 (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
<?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://lightning/skin/lightning.css"?>

<?xul-overlay href="chrome://calendar/content/preferences/general.xhtml"?>
<?xul-overlay href="chrome://calendar/content/preferences/alarms.xhtml"?>
<?xul-overlay href="chrome://calendar/content/preferences/categories.xhtml"?>
<?xul-overlay href="chrome://calendar/content/preferences/views.xhtml"?>

<!DOCTYPE overlay [
    <!ENTITY % lightningDTD SYSTEM "chrome://lightning/locale/lightning.dtd">
    %lightningDTD;
    <!ENTITY % preferencesDTD SYSTEM "chrome://calendar/locale/preferences/preferences.dtd">
    %preferencesDTD;
]>

<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml">

    <treechildren id="prefsPanelChildren">
        <treeitem container="true"
                  id="lightningItem"
                  insertafter="mailnewsItem,navigatorItem"
                  label="&lightning.preferencesLabel;"
                  prefpane="paneLightning">
            <treechildren id="lightningChildren">
                <treeitem id="lightningAlarms"
                          label="&paneAlarms.title;"
                          prefpane="paneLightningAlarms"/>
                <treeitem id="lightningCategories"
                          label="&paneCategories.title;"
                          prefpane="paneLightningCategories"/>
                <treeitem id="lightningViews"
                          label="&paneViews.title;"
                          prefpane="paneLightningViews"/>
            </treechildren>
        </treeitem>
    </treechildren>

    <prefwindow id="prefDialog">
        <prefpane id="paneLightning"
                  label="&lightning.preferencesLabel;"
                  onpaneload="gCalendarGeneralPane.init();">
            <vbox id="calPreferencesBoxGeneral"/>
        </prefpane>
        <prefpane id="paneLightningAlarms"
                  label="&paneAlarms.title;"
                  onpaneload="gAlarmsPane.init();">
            <vbox id="calPreferencesBoxAlarms"/>
        </prefpane>
        <prefpane id="paneLightningCategories"
                  label="&paneCategories.title;"
                  onpaneload="gCategoriesPane.init();">
            <vbox id="calPreferencesBoxCategories"/>
        </prefpane>
        <prefpane id="paneLightningViews"
                  label="&paneViews.title;"
                  onpaneload="gViewsPane.init();">
            <vbox id="calPreferencesBoxViews"/>
        </prefpane>
    </prefwindow>

</overlay>