Skip to content

Commit

Permalink
Enabling an additional label on the credentials window
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Wolniewicz committed Oct 9, 2024
1 parent 025cbb1 commit 64eb631
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions devices/linux/Files/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,8 +514,8 @@ def __get_username_password_atomic(self) -> None:
root = tk.Tk()
root.title(Config.title)

# desc_label = tk.Label(root, text=Messages.credentials_prompt)
# desc_label.grid(row=0, column=0, columnspan=2, sticky=tk.W)
desc_label = tk.Label(root, text=Messages.credentials_prompt)
desc_label.grid(row=0, column=0, columnspan=2, sticky=tk.W)

username_label = tk.Label(root, text=Messages.username_prompt)
username_label.grid(row=1, column=0, sticky=tk.W)
Expand Down Expand Up @@ -550,15 +550,15 @@ def inner():
if self.graphics == 'zenity':
command = ['zenity', '--forms', '--width=500',
f"--title={Config.title}",
# f"--text={Messages.credentials_prompt}",
f"--text={Messages.credentials_prompt}",
f"--add-entry={Messages.username_prompt}",
f"--add-password={Messages.enter_password}",
f"--add-password={Messages.repeat_password}",
"--separator", output_fields_separator]
elif self.graphics == 'yad':
command = ['yad', '--form',
f"--title={Config.title}",
# f"--text={Messages.credentials_prompt}",
f"--text={Messages.credentials_prompt}",
f"--field={Messages.username_prompt}", self.username,
f"--field={Messages.enter_password}:H",
f"--field={Messages.repeat_password}:H",
Expand Down

0 comments on commit 64eb631

Please sign in to comment.