add max number of imap connections to cache, r=cavin, sr=sspitzer 71792

This commit is contained in:
bienvenu%netscape.com 2002-05-21 23:04:24 +00:00
Родитель d67f2a7ed0
Коммит 8373c740ee
4 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@ -25,7 +25,14 @@
<checkbox imap_persist="true" id="dualUseFolders" label="&dualUseFolders.label;"/>
<separator class="groove"/>
<row>
<hbox align="center">
<label control="maximumConnectionsNumber" value="&maximumConnectionsNumber.label;"/>
<textbox imap_persist="true" size="3" id="maximumConnectionsNumber"/>
</hbox>
</row>
<separator class="groove"/>
<description>&namespaceDesc.label;</description>
<grid>
<columns>

Просмотреть файл

@ -126,6 +126,7 @@ function getImapServer() {
imapServer.usingSubscription = document.getElementById("imap.usingSubscription").checked;
imapServer.maximumConnectionsNumber = document.getElementById("imap.maximumConnectionsNumber").getAttribute("value");
// string prefs
imapServer.personalNamespace = document.getElementById("imap.personalNamespace").getAttribute("value");
imapServer.publicNamespace = document.getElementById("imap.publicNamespace").getAttribute("value");
@ -141,6 +142,7 @@ function saveServerLocally(imapServer)
document.getElementById("imap.dualUseFolders").checked = imapServer.dualUseFolders;
document.getElementById("imap.usingSubscription").checked = imapServer.usingSubscription;
document.getElementById("imap.maximumConnectionsNumber").setAttribute("value", imapServer.maximumConnectionsNumber);
// string prefs
document.getElementById("imap.personalNamespace").setAttribute("value", imapServer.personalNamespace);
document.getElementById("imap.publicNamespace").setAttribute("value", imapServer.publicNamespace);

Просмотреть файл

@ -175,6 +175,7 @@ Contributors:
<checkbox hidden="true" wsm_persist="true" id="imap.usingSubscription"
prefattribute="value"
prefstring="mail.server.%serverkey%.using_subscription"/>
<label hidden="true" wsm_persist="true" id="imap.maximumConnectionsNumber"/>
<label hidden="true" wsm_persist="true" id="imap.personalNamespace"/>
<label hidden="true" wsm_persist="true" id="imap.publicNamespace"/>
<label hidden="true" wsm_persist="true" id="imap.otherUsersNamespace"/>

Просмотреть файл

@ -3,6 +3,7 @@
<!ENTITY serverDirectory.label "IMAP server directory:">
<!ENTITY usingSubscription.label "Show only subscribed folders">
<!ENTITY dualUseFolders.label "Server supports folders that contain sub-folders and messages">
<!ENTITY maximumConnectionsNumber.label "Maximum number of server connections to cache">
<!-- LOCALIZATION NOTE (namespaceDesc.label): DONT_TRANSLATE "IMAP" -->
<!ENTITY namespaceDesc.label "These preferences specify the namespaces on your IMAP server">
<!ENTITY personalNamespace.label "Personal namespace:">