diff --git a/src/app/browser/window/tab/item/page/navigation/request/identity/common.rs b/src/app/browser/window/tab/item/page/navigation/request/identity/common.rs index 4bbe55bb..4b7fee1c 100644 --- a/src/app/browser/window/tab/item/page/navigation/request/identity/common.rs +++ b/src/app/browser/window/tab/item/page/navigation/request/identity/common.rs @@ -52,6 +52,9 @@ impl Common for AlertDialog { .extra_child(&form.g_box) .build(); + // @TODO since 4.10 + // https://docs.gtk.org/gtk4/method.AlertDialog.set_cancel_button.html + alert_dialog.add_responses(&[ RESPONSE_CANCEL, // RESPONSE_MANAGE, diff --git a/src/app/browser/window/tab/item/page/navigation/request/identity/unsupported.rs b/src/app/browser/window/tab/item/page/navigation/request/identity/unsupported.rs index dd20ef28..cc491e95 100644 --- a/src/app/browser/window/tab/item/page/navigation/request/identity/unsupported.rs +++ b/src/app/browser/window/tab/item/page/navigation/request/identity/unsupported.rs @@ -23,6 +23,9 @@ impl Unsupported for AlertDialog { .default_response(RESPONSE_QUIT.0) .build(); + // @TODO since 4.10 + // https://docs.gtk.org/gtk4/method.AlertDialog.set_cancel_button.html + // Set response variants alert_dialog.add_responses(&[RESPONSE_QUIT]);