From 0b01367af060d3cebd462a832b93c4bd82b44e4c Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 10 Jan 1999 20:02:37 +0000 Subject: Handle window kills properly. svn path=/trunk/; revision=2349 --- fetchmailconf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fetchmailconf') 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): -- cgit v1.2.3