summaryrefslogtreecommitdiffstats
path: root/comm/mail/components/preferences/dockoptions.xhtml
blob: 978cbe1e2d6396adadef1863691142f2ab828fc1 (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
<?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"?>

<!DOCTYPE window>

<window type="child"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:html="http://www.w3.org/1999/xhtml"
        data-l10n-id="dock-options-window-dialog2"
        style="min-width: 33em;">
  <dialog id="DockOptionsDialog"
          dlgbuttons="accept,cancel">

    <linkset>
      <html:link rel="localization" href="messenger/preferences/dock-options.ftl"/>
    </linkset>
    <hbox orient="vertical">
#ifdef XP_MACOSX
      <checkbox id="newMailNotificationBounce"
                data-l10n-id="bounce-system-dock-icon"
                preference="mail.biff.animate_dock_icon"/>
#endif
#ifdef XP_WIN
      <checkbox id="newMailBadge"
                data-l10n-id="dock-options-show-badge"
                preference="mail.biff.show_badge"/>
#endif
      <separator class="thin"/>
      <html:div>
      <html:fieldset>
        <html:legend data-l10n-id="dock-icon-legend"></html:legend>
        <vbox>
        <separator class="thin"/>
        <label data-l10n-id="dock-icon-show-label"/>
        <radiogroup id="dockCount"
                    preference="mail.biff.use_new_count_in_badge"
                    class="indent" orient="vertical">
          <radio id="dockCountAll" value="false"
                 data-l10n-id="count-unread-messages-radio"/>
          <radio id="dockCountNew" value="true"
                 data-l10n-id="count-new-messages-radio"/>
        </radiogroup>
        </vbox>
      </html:fieldset>
      </html:div>
#ifdef XP_MACOSX
      <separator/>
      <description class="bold" data-l10n-id="notification-settings-info2"/>
#endif
    </hbox>

    <script src="chrome://global/content/preferencesBindings.js"/>
    <script src="chrome://messenger/content/preferences/dockoptions.js"/>
  </dialog>
</window>