From 9061fe4a77adc3ba13107b7acd60288515958c6a Mon Sep 17 00:00:00 2001 From: Dmitry Pankratov Date: Sat, 14 Dec 2024 14:49:54 +0100 Subject: [PATCH] Rename "Challenge code" -> "Authentication" --- snx-rs-gui/src/prompt.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snx-rs-gui/src/prompt.rs b/snx-rs-gui/src/prompt.rs index 2a20697..d1e9d09 100644 --- a/snx-rs-gui/src/prompt.rs +++ b/snx-rs-gui/src/prompt.rs @@ -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);