diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-02-06 16:28:01 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-02-06 16:28:01 -0300 |
commit | abcf0ffd3b6e440b82523c80a9c014b5dc591032 (patch) | |
tree | 18c2abcc93bc54a8f2126720e2784c0fb88613fc | |
parent | d28319dc3521cfce11119bd691ee817fa344ea6f (diff) | |
download | tkinter-abcf0ffd3b6e440b82523c80a9c014b5dc591032.tar.gz tkinter-abcf0ffd3b6e440b82523c80a9c014b5dc591032.tar.bz2 tkinter-abcf0ffd3b6e440b82523c80a9c014b5dc591032.tar.xz tkinter-abcf0ffd3b6e440b82523c80a9c014b5dc591032.zip |
Make login button clearer
-rwxr-xr-x | __main__.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/__main__.py b/__main__.py index 75daf70..38a4d82 100755 --- a/__main__.py +++ b/__main__.py @@ -383,6 +383,9 @@ def do_real_launch(idx, PWD): app=execute(san("%s %s%s" % (CMD, OPT, PWD)), shell=True) # nosec else: app=execute(san("%s %s%s" % (CMD, OPT, PWD)), shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) # nosec + ## TODO: If the program doesn't launch e.g. missing client, show an error D: + #err = traceback.format_exc().split("\n")[-2] + #showerror(title="Mana Launcher", message="Sorry, we were unable to launch this world.\n%s" % err) return app @@ -525,6 +528,7 @@ def settings(): # TODO: Account Linking and Unlinking # For that, use a dropdown menu (select world), login, password, ... # Then a button "LINK" and "UNLINK". Encapsulate the form in a box + # TODO: Change password or 2FA settings # TODO Then we can put some permanent multi-world bosses on CR? (Giving EXP) ## Save all your settings and return to World Selection screen @@ -752,7 +756,7 @@ label4.config(font=('helvetica', 10)) canva.create_window(200, 280, window=label4) -button1 = HoverButton(text='Login', command=login, bg="#cc6600", fg="#fff", activebackground="#ee9933") +button1 = HoverButton(text='Login/Register', command=login, bg="#cc6600", fg="#fff", activebackground="#ee9933") canva.create_window(200, 320, window=button1) root.mainloop() |