From ce777d6426bf651d70281937c5b08dc528c44b89 Mon Sep 17 00:00:00 2001
From: "Eric S. Raymond" <esr@thyrsus.com>
Date: Mon, 8 Jun 1998 18:28:41 +0000
Subject: Associate icon with the root window.

svn path=/trunk/; revision=1933
---
 fetchmailconf | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

(limited to 'fetchmailconf')

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
-- 
cgit v1.2.3