aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-06-08 18:28:41 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-06-08 18:28:41 +0000
commitce777d6426bf651d70281937c5b08dc528c44b89 (patch)
tree090fe20495547e4aed55346ce56b70e0fd948dd3
parent4f97f1ae9b3286a4dc911af640f6c8bc34abe09b (diff)
downloadfetchmail-ce777d6426bf651d70281937c5b08dc528c44b89.tar.gz
fetchmail-ce777d6426bf651d70281937c5b08dc528c44b89.tar.bz2
fetchmail-ce777d6426bf651d70281937c5b08dc528c44b89.zip
Associate icon with the root window.
svn path=/trunk/; revision=1933
-rwxr-xr-xfetchmailconf9
1 files changed, 4 insertions, 5 deletions
diff --git a/fetchmailconf b/fetchmailconf
index c1a3cbfd..ca9be0da 100755
--- a/fetchmailconf
+++ b/fetchmailconf
@@ -1381,11 +1381,10 @@ if __name__ == '__main__':
# OK, now run the configuration edit
root = MainWindow(rcfile)
- if os.name == 'posix':
- icon_image = PhotoImage(data=fetchmail_gif)
- icon_window = Toplevel()
- Label(icon_window, image=icon_image, bg='black').pack()
- root.master.iconwindow(icon_window)
+ icon_image = PhotoImage(data=fetchmail_gif)
+ icon_window = Toplevel()
+ Label(icon_window, image=icon_image, bg='black').pack()
+ root.master.iconwindow(icon_window)
root.mainloop()
# The following sets edit modes for GNU EMACS