]> Nutra Git (v2) - gamesguru/getmyancestors.git/commitdiff
Use tkinter.ttk
authorlinek <benoitfontaine.ba@gmail.com>
Sat, 17 Feb 2018 16:48:06 +0000 (17:48 +0100)
committerlinek <benoitfontaine.ba@gmail.com>
Sat, 17 Feb 2018 16:48:06 +0000 (17:48 +0100)
gui.py

diff --git a/gui.py b/gui.py
index 24a567aa7f43d3a3e77a21f1fd275e351163a4f7..a58892d5ff501d772a9f9546eb9ebd547c5288f6 100644 (file)
--- a/gui.py
+++ b/gui.py
@@ -1,7 +1,8 @@
 #!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
-from tkinter import Tk, Frame, Label, Entry, StringVar, Button, IntVar, Checkbutton, filedialog, messagebox
+from tkinter import Tk, StringVar, IntVar, filedialog, messagebox
+from tkinter.ttk import Frame, Label, Entry, Button, Checkbutton
 from getmyancestors import Session, Tree
 import asyncio
 import re
@@ -119,7 +120,7 @@ class Gui(Frame):
         self.title = Label(self, text='Sign In to FamilySearch')
         buttons = Frame(self)
         self.btn_quit = Button(buttons, text='Quit', command=self.quit)
-        self.btn_valid = Button(buttons, text='Sign In', fg='red', command=self.login)
+        self.btn_valid = Button(buttons, text='Sign In', command=self.login)
         self.title.pack()
         self.sign_in.pack()
         self.form.pack()