From: Christoph Heiss <c.heiss@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH installer 1/2] tui: show background header on fatal setup error
Date: Thu, 24 Oct 2024 11:00:42 +0200 [thread overview]
Message-ID: <20241024090043.181653-2-c.heiss@proxmox.com> (raw)
In-Reply-To: <20241024090043.181653-1-c.heiss@proxmox.com>
This was missing, as it was only applied for the main installation UI -
the setup error has its own screen setup codepath entirely.
Signed-off-by: Christoph Heiss <c.heiss@proxmox.com>
---
proxmox-tui-installer/src/main.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/proxmox-tui-installer/src/main.rs b/proxmox-tui-installer/src/main.rs
index 3fb87a7..b1f11cb 100644
--- a/proxmox-tui-installer/src/main.rs
+++ b/proxmox-tui-installer/src/main.rs
@@ -219,6 +219,7 @@ fn installer_setup_late(siv: &mut Cursive) {
}
fn initial_setup_error(siv: &mut CursiveRunnable, message: &str) -> ! {
+ siv.add_fullscreen_layer(InstallerBackgroundView::new());
siv.add_layer(
Dialog::around(TextView::new(message))
.title("Installer setup error")
--
2.46.0
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
next prev parent reply other threads:[~2024-10-24 9:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-24 9:00 [pve-devel] [PATCH installer 0/2] tui: throw setup error if no network interfaces were found Christoph Heiss
2024-10-24 9:00 ` Christoph Heiss [this message]
2024-10-24 9:00 ` [pve-devel] [PATCH installer 2/2] installer-common: " Christoph Heiss
2024-10-29 14:56 ` [pve-devel] [PATCH installer 0/2] tui: " Aaron Lauterer
2024-10-30 9:02 ` [pve-devel] applied-series: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241024090043.181653-2-c.heiss@proxmox.com \
--to=c.heiss@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox