diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-01-10 20:02:37 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-01-10 20:02:37 +0000 |
commit | 0b01367af060d3cebd462a832b93c4bd82b44e4c (patch) | |
tree | 3277a0af72e092a4f102e2a60afe5a50ec772e16 /fetchmailconf | |
parent | 2466687b5c516325f3249044aeca4baeff17074a (diff) | |
download | fetchmail-0b01367af060d3cebd462a832b93c4bd82b44e4c.tar.gz fetchmail-0b01367af060d3cebd462a832b93c4bd82b44e4c.tar.bz2 fetchmail-0b01367af060d3cebd462a832b93c4bd82b44e4c.zip |
Handle window kills properly.
svn path=/trunk/; revision=2349
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-x | fetchmailconf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fetchmailconf b/fetchmailconf index d58ae9ff..703bd389 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -1305,12 +1305,12 @@ class UserEdit(Frame, MyWidget): self.fetchlimit, '30').pack(side=TOP, fill=X) LabeledEntry(limwin, 'Max messages to forward per poll:', self.batchlimit, '30').pack(side=TOP, fill=X) - if parent.server.protocol in ('IMAP', 'IMAP-K4', 'IMAP-GSS'): + if self.parent.server.protocol in ('IMAP', 'IMAP-K4', 'IMAP-GSS'): LabeledEntry(limwin, 'Interval between expunges (IMAP):', self.expunge, '30').pack(side=TOP, fill=X) limwin.pack(fill=X) - if parent.server.protocol in ('IMAP', 'IMAP-K4', 'IMAP-GSS'): + if self.parent.server.protocol in ('IMAP', 'IMAP-K4', 'IMAP-GSS'): foldwin = Frame(rightwin, relief=RAISED, bd=5) Label(foldwin, text="Remote folders (IMAP only)").pack(side=TOP) ListEdit("New folder:", self.user.mailboxes, None, foldwin, None) @@ -1361,11 +1361,11 @@ return to the main panel. self.parent.configuration_active = 1 def novice(self): - self.destroy() + self.master.destroy() ConfigurationEdit(Fetchmailrc, self.outfile, Toplevel()).edit('novice') def expert(self): - self.destroy() + self.master.destroy() ConfigurationEdit(Fetchmailrc, self.outfile, Toplevel()).edit('expert') def leave(self): |