fix place holder and socket
This commit is contained in:
parent
7520f932ad
commit
b4bced8630
@ -59,7 +59,7 @@ pub fn installation_progress_page(
|
|||||||
installation_progress_log_scroll.add_css_class("round-all-scroll");
|
installation_progress_log_scroll.add_css_class("round-all-scroll");
|
||||||
|
|
||||||
let placeholder_icon = gtk::Image::builder()
|
let placeholder_icon = gtk::Image::builder()
|
||||||
.icon_name(DISTRO_ICON)
|
.icon_name("pika-logo-text")
|
||||||
.halign(gtk::Align::Center)
|
.halign(gtk::Align::Center)
|
||||||
.valign(gtk::Align::Center)
|
.valign(gtk::Align::Center)
|
||||||
.hexpand(true)
|
.hexpand(true)
|
||||||
@ -171,7 +171,7 @@ pub fn installation_progress_page(
|
|||||||
socket_status_receiver,
|
socket_status_receiver,
|
||||||
async move {
|
async move {
|
||||||
while let Ok(state) = socket_status_receiver.recv().await {
|
while let Ok(state) = socket_status_receiver.recv().await {
|
||||||
match state.as_str() {
|
match state.trim() {
|
||||||
"PARTING" => {
|
"PARTING" => {
|
||||||
installation_progress_bar.set_fraction(0.15);
|
installation_progress_bar.set_fraction(0.15);
|
||||||
installation_progress_bar.set_text(Some(&t!("installation_progress_bar_text_parting")));
|
installation_progress_bar.set_text(Some(&t!("installation_progress_bar_text_parting")));
|
||||||
|
Loading…
Reference in New Issue
Block a user