-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from thelastfantasy/v1.3.1-feedback-link
fix: update contact method to link to GitHub issues instead of email
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -258,7 +258,7 @@ def shift_times_in_directory(directory, shift_value, shift_direction, layer_numb | |
log_result_fn(f"\n\n{result_message}") | ||
|
||
def open_mail(event=None): | ||
webbrowser.open("mailto:[email protected]") | ||
webbrowser.open("https://github.com/thelastfantasy/sub-adjust/issues") | ||
|
||
def show_usage(root): | ||
usage_window = tk.Toplevel(root) | ||
|
@@ -350,7 +350,7 @@ def check_queue(): | |
tk.Button(root, text="处理", command=on_submit).grid(row=5, columnspan=3, pady=10) | ||
|
||
# 联系作者 | ||
contact_label = tk.Label(root, text="联系作者: [email protected]", fg="blue", cursor="hand2") | ||
contact_label = tk.Label(root, text="反馈", fg="blue", cursor="hand2") | ||
contact_label.grid(row=6, column=0, columnspan=3, padx=10, pady=10, sticky=tk.W) | ||
contact_label.bind("<Button-1>", open_mail) | ||
contact_label.bind("<Enter>", lambda e: contact_label.config(fg="red")) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,15 +79,15 @@ def __init__(self, root: tk.Tk): | |
self.context_menu.add_command(label="删除", command=self.clear_all) | ||
|
||
# Author contact label | ||
contact_label = tk.Label(root, text="联系作者: [email protected]", fg="blue", cursor="hand2") | ||
contact_label = tk.Label(root, text="反馈", fg="blue", cursor="hand2") | ||
contact_label.pack(anchor='w', pady=(0, 0)) # Remove unnecessary padding at the bottom | ||
contact_label.bind("<Button-1>", self.open_email) | ||
contact_label.bind("<Enter>", lambda e: contact_label.config(fg="red")) | ||
contact_label.bind("<Leave>", lambda e: contact_label.config(fg="blue")) | ||
|
||
def open_email(self, event=None): | ||
import webbrowser | ||
webbrowser.open("mailto:[email protected]") | ||
webbrowser.open("https://github.com/thelastfantasy/sub-adjust/issues") | ||
|
||
def show_context_menu(self, event): | ||
try: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,7 +154,7 @@ def check_queue(): | |
root.after(100, check_queue) | ||
|
||
def open_mail(event=None): | ||
webbrowser.open("mailto:[email protected]") | ||
webbrowser.open("https://github.com/thelastfantasy/sub-adjust/issues") | ||
|
||
def show_usage(root): | ||
usage_window = tk.Toplevel(root) | ||
|
@@ -209,7 +209,7 @@ def select_files(): | |
tk.Button(root, text="转换", command=on_convert).grid(row=4, columnspan=4, pady=10) | ||
|
||
# Contact author | ||
contact_label = tk.Label(root, text="联系作者: [email protected]", fg="blue", cursor="hand2") | ||
contact_label = tk.Label(root, text="反馈", fg="blue", cursor="hand2") | ||
contact_label.grid(row=5, column=0, columnspan=2, padx=10, pady=10, sticky=tk.W) | ||
contact_label.bind("<Button-1>", open_mail) | ||
contact_label.bind("<Enter>", lambda e: contact_label.config(fg="red")) | ||
|