Skip to content

Commit

Permalink
Rename "Challenge code" -> "Authentication"
Browse files Browse the repository at this point in the history
  • Loading branch information
ancwrd1 committed Dec 14, 2024
1 parent faa0073 commit 9061fe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snx-rs-gui/src/prompt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ impl GtkPrompt {
let prompt = prompt.to_owned();

glib::idle_add(move || {
let dialog = gtk::Dialog::builder().title("Challenge code").modal(true).build();
let dialog = gtk::Dialog::builder().title("Authentication").modal(true).build();

let ok = gtk::Button::builder().label("OK").can_default(true).build();
let cancel = gtk::Button::builder().label("Cancel").build();
dialog.add_action_widget(&ok, ResponseType::Ok);
dialog.add_action_widget(&cancel, ResponseType::Cancel);
dialog.set_default(Some(&ok));
dialog.set_default_width(300);
dialog.set_default_width(320);
dialog.set_default_height(120);
dialog.set_position(WindowPosition::CenterAlways);

Expand Down

0 comments on commit 9061fe4

Please sign in to comment.