~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/chrome/content/prefs.thunderbird.xul

  • Committer: Yvon TANGUY
  • Date: 2014-04-09 19:37:40 UTC
  • Revision ID: vono@vono.zsh.jp-20140409193740-1cqp6j5bgei4g91n
Fix #1305252 : Regression: preference extensions.cookiekeeper.version not set

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!-- This Source Code Form is subject to the terms of the Mozilla Public
 
3
   - License, v. 2.0. If a copy of the MPL was not distributed with this
 
4
   - file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
5
   - ==================================================================
 
6
   - Mozilla Thunderbird preferences tab.
 
7
 -->
 
8
 
 
9
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
 
10
<?xml-stylesheet href="chrome://cookiekeeper/skin/moz_prefs_dialog.css" type="text/css"?>
 
11
 
 
12
<!DOCTYPE overlay [
 
13
  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
 
14
  <!ENTITY % cookieKeeperDTD SYSTEM "chrome://cookiekeeper/locale/cookiekeeper.dtd" >
 
15
  %brandDTD;
 
16
  %cookieKeeperDTD;
 
17
]>
 
18
 
 
19
<overlay id="cookiekeeper-overlay-prefs-pane-thunderbird"
 
20
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
21
 
 
22
  <prefpane id="cookiekeeper-prefs-pane-browser"
 
23
            flex="1"
 
24
            onpaneload="gCookieKeeperThunderbirdPrefs.init();">
 
25
 
 
26
    <preferences id="privacyPreferences">
 
27
      <preference id="network.cookie.cookieBehavior"
 
28
                name="network.cookie.cookieBehavior"
 
29
                onchange="gCookieKeeperThunderbirdPrefs.updateUI();"
 
30
                type="int"/>
 
31
      <preference id="network.cookie.lifetimePolicy"
 
32
                name="network.cookie.lifetimePolicy"
 
33
                onchange="gCookieKeeperThunderbirdPrefs.updateUI();"
 
34
                type="int"/>
 
35
      <preference id="network.cookie.lifetime.days"
 
36
                name="network.cookie.lifetime.days"
 
37
                type="int"/>
 
38
    </preferences>
 
39
 
 
40
    <vbox id="boxContent" class="contentPane" flex="1">
 
41
 
 
42
      <separator class="thin"/>
 
43
      <groupbox id="acceptPolicyGroup" align="start">
 
44
        <caption label="&acceptpolicy.caption;"/>
 
45
        <radiogroup id="acceptPolicyRG" orient="vertical" accessibleType="1016" preference="network.cookie.cookieBehavior">
 
46
          <radio id="acceptPolicyAll" value="0" accessibleType="1015"
 
47
                 label="&acceptpolicy.all.radio;" accesskey="&acceptpolicy.all.accesskey;" />
 
48
          <radio id="acceptPolicyRTP" value="1" accessibleType="1015"
 
49
                 label="&acceptpolicy.rtp.radio;" accesskey="&acceptpolicy.rtp.accesskey;" />
 
50
          <hbox>
 
51
            <radio id="acceptPolicyNone" value="2" accessibleType="1015"
 
52
                   label="&acceptpolicy.none.radio;" accesskey="&acceptpolicy.none.accesskey;" />
 
53
            <image  id="imgWarnAcceptNone" accessibleType="1009" hidden="true"
 
54
                    tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png" />
 
55
          </hbox>
 
56
          <radio id="acceptPolicyRUn" value="3" accessibleType="1015"
 
57
                 label="&acceptpolicy.run.radio;" accesskey="&acceptpolicy.run.accesskey;" />
 
58
        </radiogroup>
 
59
      </groupbox>
 
60
 
 
61
      <separator class="thin"/>
 
62
      <groupbox id="lifetimePolicyGroup" align="start">
 
63
        <caption label="&lifetime.caption;"/>
 
64
        <radiogroup id="lifetimePolicyRG" orient="vertical" accessibleType="1016" preference="network.cookie.lifetimePolicy">
 
65
          <radio id="lifetimePolicyNormal" value="0" accessibleType="1015"
 
66
                 label="&lifetime.normal.radio;" accesskey="&lifetime.normal.accesskey;" />
 
67
          <radio id="lifetimePolicyAsk" value="1" accessibleType="1015"
 
68
                 label="&lifetime.ask.radio;" accesskey="&lifetime.ask.accesskey;" />
 
69
          <hbox>
 
70
            <radio id="lifetimePolicySession" value="2" accessibleType="1015"
 
71
                   label="&lifetime.downgrade.radio;" accesskey="&lifetime.downgrade.accesskey;" />
 
72
            <image  id="imgWarnPolicySession" accessibleType="1009" hidden="true"
 
73
                    tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png" />
 
74
          </hbox>
 
75
          <hbox align="baseline">
 
76
            <radio id="lifetimePolicy" value="3" accessibleType="1015"
 
77
                   label="&lifetime.limit.radio;" accesskey="&lifetime.limit.accesskey;" />
 
78
            <textbox id="tbLifetimeDays" type="number" size="4" min="1" max="3650"
 
79
                     accessibleType="101B" preference="network.cookie.lifetime.days" />
 
80
            <label id="labelLifetimePolicy" value="&lifetime.limit.days;"/>
 
81
          </hbox>
 
82
        </radiogroup>
 
83
      </groupbox>
 
84
    </vbox>
 
85
 
 
86
  </prefpane>
 
87
 
 
88
</overlay>