mail/components/preferences/offline.xul
author Misak Khachatryan <misak.bugzilla@gmail.com>
Tue, 10 Dec 2013 11:18:27 +0400
changeset 16983 63baf8270c1cb8b380784b61c43905c688e051d6
parent 12697 9ad3986227d0e93c4657aca8c77824364f0e4f65
child 21465 6025c959d8a7670e6b13147d17f6861804159331
permissions -rw-r--r--
Bug 948293 - Build bustage after bug 713082. r+a=Neil CLOSED TREE

<?xml version="1.0"?>
<!-- -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
   - 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/"?>
<?xml-stylesheet href="chrome://messenger/skin/preferences/preferences.css"?>

<!DOCTYPE prefwindow [
  <!ENTITY % offlineDTD SYSTEM "chrome://messenger/locale/preferences/offline.dtd">
  %offlineDTD;
]>

<prefwindow id="OfflineSettingsDialog" type="child"
            xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
            dlgbuttons="accept,cancel"
            title="&offlineDialog.title;">

  <prefpane id="OfflineSettingsDialogPane">
    <preferences id="OfflineSettingsPreferences">
      <preference id="offline.startup_state"                 name="offline.startup_state"     type="int"/>
      <preference id="offline.send.unsent_messages"          name="offline.send.unsent_messages" type="int"/>
      <preference id="offline.download.download_messages"    name="offline.download.download_messages"    type="int"/>
    </preferences>

    <label value="&textStartUp;" control="whenStartingUp"/>
    <radiogroup id="whenStartingUp" class="indent" preference="offline.startup_state">
      <radio value="0" label="&radioRememberPrevState.label;" accesskey="&radioRememberPrevState.accesskey;"/>
      <radio value="1" label="&radioAskMe.label;" accesskey="&radioAskMe.accesskey;"/>
      <radio value="2" label="&radioAlwaysOnline.label;" accesskey="&radioAlwaysOnline.accesskey;"/>
    </radiogroup>

    <separator class="thin"/>

    <label value="&textGoingOnline;" control="whengoingOnlinestate"/>
    <radiogroup id="whengoingOnlinestate" orient="horizontal" class="indent"
                preference ="offline.send.unsent_messages">
      <radio value="1" label="&radioAutoSend.label;"  accesskey="&radioAutoSend.accesskey;"/>
      <radio value="2" label="&radioNotSend.label;"   accesskey="&radioNotSend.accesskey;"/>
      <radio value="0" label="&radioAskUnsent.label;" accesskey="&radioAskUnsent.accesskey;"/>
    </radiogroup>

    <separator class="thin"/>

    <label value="&textGoingOffline;" control="whengoingOfflinestate"/>
    <radiogroup id="whengoingOfflinestate" orient="horizontal" class="indent"
                preference="offline.download.download_messages">
      <radio value="1" label="&radioAutoDownload.label;" accesskey="&radioAutoDownload.accesskey;"/>
      <radio value="2" label="&radioNotDownload.label;"  accesskey="&radioNotDownload.accesskey;"/>
      <radio value="0" label="&radioAskDownload.label;"  accesskey="&radioAskDownload.accesskey;"/>
    </radiogroup>
    <separator/>
  </prefpane>
</prefwindow>