From 01bef05346624733be11fd1aa447b4c1ec084c46 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 13 Nov 2024 08:59:22 +0200 Subject: [PATCH] add comments --- src/app/browser/welcome/widget.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/browser/welcome/widget.rs b/src/app/browser/welcome/widget.rs index d1172b3a..ed371f85 100644 --- a/src/app/browser/welcome/widget.rs +++ b/src/app/browser/welcome/widget.rs @@ -26,8 +26,10 @@ impl Widget { .default_response(RESPONSE_CREATE.0) .build(); + // Init response variants gobject.add_responses(&[RESPONSE_QUIT, RESPONSE_CREATE]); + // Decorate gobject.set_response_appearance(RESPONSE_CREATE.0, ResponseAppearance::Suggested); gobject.set_response_appearance(RESPONSE_QUIT.0, ResponseAppearance::Destructive);