From 8373c740ee844a7ca2440a0687758bfb11d07cf5 Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Tue, 21 May 2002 23:04:24 +0000 Subject: [PATCH] add max number of imap connections to cache, r=cavin, sr=sspitzer 71792 --- mailnews/base/prefs/resources/content/am-imap-advanced.xul | 7 +++++++ mailnews/base/prefs/resources/content/am-server.js | 2 ++ mailnews/base/prefs/resources/content/am-server.xul | 1 + .../base/prefs/resources/locale/en-US/am-imap-advanced.dtd | 1 + 4 files changed, 11 insertions(+) diff --git a/mailnews/base/prefs/resources/content/am-imap-advanced.xul b/mailnews/base/prefs/resources/content/am-imap-advanced.xul index 92f3d9853db..8a4000637aa 100644 --- a/mailnews/base/prefs/resources/content/am-imap-advanced.xul +++ b/mailnews/base/prefs/resources/content/am-imap-advanced.xul @@ -25,7 +25,14 @@ + + + + + &namespaceDesc.label; diff --git a/mailnews/base/prefs/resources/content/am-server.js b/mailnews/base/prefs/resources/content/am-server.js index 48000cd7608..f1dfc3ba6ce 100644 --- a/mailnews/base/prefs/resources/content/am-server.js +++ b/mailnews/base/prefs/resources/content/am-server.js @@ -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); diff --git a/mailnews/base/prefs/resources/content/am-server.xul b/mailnews/base/prefs/resources/content/am-server.xul index 305da4ad513..de1a6db18a1 100644 --- a/mailnews/base/prefs/resources/content/am-server.xul +++ b/mailnews/base/prefs/resources/content/am-server.xul @@ -175,6 +175,7 @@ Contributors: