Fix icon for linux platform
authorBenoît Fontaine <benoit.fontaine@acft.fr>
Sat, 17 Mar 2018 21:19:28 +0000 (22:19 +0100)
committerBenoît Fontaine <benoit.fontaine@acft.fr>
Sat, 17 Mar 2018 21:19:28 +0000 (22:19 +0100)
README.md
fstogedcom.ico [deleted file]
fstogedcom.png [new file with mode: 0644]
fstogedcom.py

index 6a4cfa87feeeb31b29fdb0e26634cdce9e269b0b..e09f5b78be66fab52d5800b33471f3e58457d013 100644 (file)
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ The graphical interface requires the tkinter module (https://docs.python.org/3/l
 
 To download the script, click on the green button "Clone or download" on the top of this page and then click on "Download ZIP".
 
-Current version was updated on March 4th 2018.
+Current version was updated on March 17th 2018.
 
 
 How to use
diff --git a/fstogedcom.ico b/fstogedcom.ico
deleted file mode 100644 (file)
index e04de03..0000000
Binary files a/fstogedcom.ico and /dev/null differ
diff --git a/fstogedcom.png b/fstogedcom.png
new file mode 100644 (file)
index 0000000..0cb222a
Binary files /dev/null and b/fstogedcom.png differ
index 0532b89eb63906d515db3db87e17db16c10cef80..520a32c7c99ec17c36c88ccb405da17b86049099 100644 (file)
@@ -2,7 +2,7 @@
 # -*- coding: utf-8 -*-
 
 # global import
-from tkinter import Tk, StringVar, IntVar, filedialog, messagebox, Menu, TclError
+from tkinter import Tk, StringVar, IntVar, filedialog, messagebox, Menu, TclError, PhotoImage
 from tkinter.ttk import Frame, Label, Entry, Button, Checkbutton, Treeview, Notebook
 from threading import Thread
 from diskcache import Cache
@@ -514,6 +514,6 @@ class FStoGEDCOM(Notebook):
 if __name__ == '__main__':
     root = Tk()
     root.title('FamilySearch to GEDCOM')
-    root.iconbitmap('fstogedcom.ico')
+    root.iconphoto(True, PhotoImage(file='fstogedcom.png'))
     fstogedcom = FStoGEDCOM(root)
     fstogedcom.mainloop()