diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-05-17 00:39:03 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-05-17 00:39:03 +0000 |
commit | 38eba430a7fa7359e539d8d435c21fd692b256c6 (patch) | |
tree | 9178ee601269cdc587f21b36d7e9a3cba0039bce /fetchmailconf | |
parent | cf7084a0f6f29857b5b8c3e69f7a4cf2cfeaa059 (diff) | |
download | fetchmail-38eba430a7fa7359e539d8d435c21fd692b256c6.tar.gz fetchmail-38eba430a7fa7359e539d8d435c21fd692b256c6.tar.bz2 fetchmail-38eba430a7fa7359e539d8d435c21fd692b256c6.zip |
Attempt destroy interception.
svn path=/trunk/; revision=2481
Diffstat (limited to 'fetchmailconf')
-rwxr-xr-x | fetchmailconf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fetchmailconf b/fetchmailconf index 7bfefe51..daf8c220 100755 --- a/fetchmailconf +++ b/fetchmailconf @@ -1432,6 +1432,9 @@ return to the main panel. """, width=600).pack(side=TOP) Button(self, text='Quit', fg='blue', command=self.leave).pack() + # FIXME: This should intercept window-destruction requests. + master.protocol("WM_DELETE_WINDOW", self.leave) + def novice(self): self.master.destroy() ConfigurationEdit(Fetchmailrc, self.outfile, Toplevel(), self.onexit).edit('novice') |