From b4bced86309e55d7f1da6f8be79ab32a2426f103 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Sat, 24 Aug 2024 09:27:33 +0300 Subject: [PATCH] fix place holder and socket --- src/installation_progress_page/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/installation_progress_page/mod.rs b/src/installation_progress_page/mod.rs index 7bb71dc..4f63901 100644 --- a/src/installation_progress_page/mod.rs +++ b/src/installation_progress_page/mod.rs @@ -59,7 +59,7 @@ pub fn installation_progress_page( installation_progress_log_scroll.add_css_class("round-all-scroll"); let placeholder_icon = gtk::Image::builder() - .icon_name(DISTRO_ICON) + .icon_name("pika-logo-text") .halign(gtk::Align::Center) .valign(gtk::Align::Center) .hexpand(true) @@ -171,7 +171,7 @@ pub fn installation_progress_page( socket_status_receiver, async move { while let Ok(state) = socket_status_receiver.recv().await { - match state.as_str() { + match state.trim() { "PARTING" => { installation_progress_bar.set_fraction(0.15); installation_progress_bar.set_text(Some(&t!("installation_progress_bar_text_parting")));