~vono22/cookiekeeper/1.9.0

« back to all changes in this revision

Viewing changes to cookiekeeper/chrome/content/prefs.firefox.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 Firefox preferences tab.
 
7
 -->
 
8
 
 
9
<!DOCTYPE overlay [
 
10
  <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
 
11
  <!ENTITY % cookieKeeperDTD SYSTEM "chrome://cookiekeeper/locale/cookiekeeper.dtd" >
 
12
  %brandDTD;
 
13
  %cookieKeeperDTD;
 
14
]>
 
15
 
 
16
<overlay id="cookiekeeper-overlay-prefs-pane-firefox"
 
17
         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 
18
 
 
19
  <prefpane id="cookiekeeper-prefs-pane-browser"
 
20
            flex="1"
 
21
            onpaneload="gCookieKeeperFirefoxPrefs.init();">
 
22
 
 
23
    <preferences id="privacyPreferences">
 
24
      <preference id="browser.privatebrowsing.autostart"
 
25
                name="browser.privatebrowsing.autostart"
 
26
                onchange="gCookieKeeperFirefoxPrefs.updateUI();"
 
27
                type="bool"/>
 
28
      <preference id="privacy.sanitize.sanitizeOnShutdown"
 
29
                name="privacy.sanitize.sanitizeOnShutdown"
 
30
                onchange="gCookieKeeperFirefoxPrefs.updateUI();"
 
31
                type="bool"/>
 
32
      <preference id="privacy.clearOnShutdown.cookies"
 
33
                name="privacy.clearOnShutdown.cookies"
 
34
                onchange="gCookieKeeperFirefoxPrefs.updateUI();"
 
35
                type="bool"/>
 
36
      <preference id="network.cookie.cookieBehavior"
 
37
                name="network.cookie.cookieBehavior"
 
38
                onchange="gCookieKeeperFirefoxPrefs.updateUI();"
 
39
                type="int"/>
 
40
      <preference id="network.cookie.lifetimePolicy"
 
41
                name="network.cookie.lifetimePolicy"
 
42
                onchange="gCookieKeeperFirefoxPrefs.updateUI();"
 
43
                type="int"/>
 
44
      <preference id="network.cookie.lifetime.days"
 
45
                name="network.cookie.lifetime.days"
 
46
                type="int"/> <!-- onchange="gCookieKeeperFirefoxPrefs.onLifetimeDaysChange();" -->
 
47
    </preferences>
 
48
 
 
49
    <vbox id="boxContent" class="contentPane" flex="1">
 
50
      <separator class="thin"/>
 
51
      <hbox>
 
52
        <checkbox id="privateBrowsingAutoStart"
 
53
                  accessibleType="1003"
 
54
                  label="&privateBrowsingPermanent2.label;"
 
55
                  accesskey="&privateBrowsingPermanent2.accesskey;"
 
56
                  preference="browser.privatebrowsing.autostart"/>
 
57
        <image  id="imgWarnPrivateBrowsingAutoStart" accessibleType="1009" hidden="true"
 
58
                tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png"/>
 
59
      </hbox>
 
60
 
 
61
      <separator class="thin"/>
 
62
      <checkbox id="sanitizeOnShutdown"
 
63
                accessibleType="1003"
 
64
                label="&clearOnClose.label;"
 
65
                accesskey="&clearOnClose.accesskey;"
 
66
                preference="privacy.sanitize.sanitizeOnShutdown"/>
 
67
      <hbox class="indent">
 
68
        <checkbox id="clearOnShutDownCookies"
 
69
                  accessibleType="1003"
 
70
                  label="&itemCookies.label;"
 
71
                  accesskey="&itemCookies.accesskey;"
 
72
                  preference="privacy.clearOnShutdown.cookies"/>
 
73
        <image  id="imgWarnClearOnShutDownCookies" accessibleType="1009" hidden="true"
 
74
                tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png"/>
 
75
      </hbox>
 
76
 
 
77
      <separator class="thin"/>
 
78
      <groupbox id="acceptPolicyGroup" align="start">
 
79
        <caption label="&acceptpolicy.caption;"/>
 
80
        <radiogroup
 
81
          id="acceptPolicyRG"
 
82
          orient="vertical"
 
83
          accessibleType="1016"
 
84
          preference="network.cookie.cookieBehavior">
 
85
          <radio id="acceptPolicyAll" value="0" accessibleType="1015"
 
86
                 label="&acceptpolicy.all.radio;" accesskey="&acceptpolicy.all.accesskey;" />
 
87
          <radio id="acceptPolicyRTP" value="1" accessibleType="1015"
 
88
                 label="&acceptpolicy.rtp.radio;" accesskey="&acceptpolicy.rtp.accesskey;" />
 
89
          <hbox align="baseline">
 
90
            <radio id="acceptPolicyNone" value="2" accessibleType="1015"
 
91
                   label="&acceptpolicy.none.radio;"
 
92
                   accesskey="&acceptpolicy.none.accesskey;" />
 
93
            <image  id="imgWarnAcceptNone" accessibleType="1009" hidden="true"
 
94
                    tooltiptext="&warning.image.tooltip;" src="chrome://cookiekeeper/skin/warning24.png" />
 
95
          </hbox>
 
96
          <radio id="acceptPolicyRUn" value="3" accessibleType="1015"
 
97
                 label="&acceptpolicy.run.radio;" accesskey="&acceptpolicy.run.accesskey;" />
 
98
        </radiogroup>
 
99
      </groupbox>
 
100
 
 
101
      <separator class="thin"/>
 
102
      <groupbox id="lifetimePolicyGroup" align="start">
 
103
        <caption label="&lifetime.caption;"/>
 
104
        <radiogroup id="lifetimePolicyRG"
 
105
                    orient="vertical"
 
106
                    accessibleType="1016"
 
107
                    preference="network.cookie.lifetimePolicy">
 
108
          <radio id="lifetimePolicyNormal" value="0" accessibleType="1015"
 
109
                 label="&lifetime.normal.radio;" accesskey="&lifetime.normal.accesskey;" />
 
110
          <radio id="lifetimePolicyAsk" value="1" accessibleType="1015"
 
111
                 label="&lifetime.ask.radio;" accesskey="&lifetime.ask.accesskey;" />
 
112
          <hbox align="baseline">
 
113
            <radio id="lifetimePolicySession" value="2" accessibleType="1015"
 
114
                   label="&lifetime.downgrade.radio;"
 
115
                   accesskey="&lifetime.downgrade.accesskey;" />
 
116
            <image  id="imgWarnPolicySession" accessibleType="1009" hidden="true"
 
117
                    tooltiptext="&warning.image.tooltip;"  src="chrome://cookiekeeper/skin/warning24.png" />
 
118
          </hbox>
 
119
          <hbox align="baseline">
 
120
            <radio id="lifetimePolicy" value="3" accessibleType="1015"
 
121
                   label="&lifetime.limit.radio;" accesskey="&lifetime.limit.accesskey;" />
 
122
            <textbox id="tbLifetimeDays" type="number" size="4" min="1" max="3650" accessibleType="101B"
 
123
                     preference="network.cookie.lifetime.days" />
 
124
            <label id="labelLifetimePolicy" value="&lifetime.limit.days;"/>
 
125
          </hbox>
 
126
        </radiogroup>
 
127
      </groupbox>
 
128
    </vbox>
 
129
  </prefpane>
 
130
 
 
131
</overlay>