aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-06-03 23:45:22 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-06-03 23:45:22 +0000
commitfd2a8de0bd94ebce02f16e0796866cc21ddc83b0 (patch)
tree32822450613ab88cf990e9d920781cf51877c6af
parent1e25de25e76f417760f1b26230a829a7d609a72e (diff)
downloadfetchmail-fd2a8de0bd94ebce02f16e0796866cc21ddc83b0.tar.gz
fetchmail-fd2a8de0bd94ebce02f16e0796866cc21ddc83b0.tar.bz2
fetchmail-fd2a8de0bd94ebce02f16e0796866cc21ddc83b0.zip
More cleanup.
svn path=/trunk/; revision=1887
-rwxr-xr-xfetchmailconf3
1 files changed, 2 insertions, 1 deletions
diff --git a/fetchmailconf b/fetchmailconf
index adf029e9..eaa60bf5 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -805,7 +805,7 @@ class ServerEdit(Frame, MyWidget):
def refreshPort(self):
proto = self.protocol.get()
self.port.set(defaultports[proto])
- if not proto in ("POP3", "APOP", "KPOP"): self.uidl = FALSE
+ if not proto in ("POP3", "APOP", "KPOP"): self.uidl.state = DISABLED
def makeWidgets(self, host, mode):
topwin = dispose_window(self, "Server options for querying " + host, serverhelp)
@@ -835,6 +835,7 @@ class ServerEdit(Frame, MyWidget):
if mode != 'novice':
LabeledEntry(protwin, 'On server TCP/IP port:',
self.port, leftwidth).pack(side=TOP, fill=X)
+ self.refreshPort()
Checkbutton(protwin,
text="POP3: track `seen' with client-side UIDLs?",
variable=self.uidl).pack(side=TOP)