fix regression caused by locale changes

This commit is contained in:
Ward from fusion-voyager-3 2024-08-19 03:00:49 +03:00
parent 6665cc4531
commit 0f3537745c
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@ const MINIMUM_EFI_BYTE_SIZE: f64 = 500000000.0;
const MINIMUM_BOOT_BYTE_SIZE: f64 = 1000000000.0; const MINIMUM_BOOT_BYTE_SIZE: f64 = 1000000000.0;
const MINIMUM_ROOT_BYTE_SIZE: f64 = 39000000000.0; const MINIMUM_ROOT_BYTE_SIZE: f64 = 39000000000.0;
#[derive(Clone, Debug)] #[derive(Clone)]
struct PartitionRow { struct PartitionRow {
widget: adw::ActionRow, widget: adw::ActionRow,
used: Rc<std::cell::RefCell<bool>>, used: Rc<std::cell::RefCell<bool>>,
@ -765,7 +765,6 @@ fn post_check_drive_mount(row: &DriveMountRow, partition_row_struct: &PartitionR
#[strong] #[strong]
row, row,
move |_| { move |_| {
dbg!(&partition_row_struct);
if row.mountpoint() == "[SWAP]" { if row.mountpoint() == "[SWAP]" {
if partition.part_fs != "linux-swap" { if partition.part_fs != "linux-swap" {
partition_row_struct.widget.set_sensitive(false); partition_row_struct.widget.set_sensitive(false);

View File

@ -53,7 +53,7 @@ pub fn timezone_page(
.arg("show") .arg("show")
.arg("--va") .arg("--va")
.arg("-p") .arg("-p")
.arg("timezone_page_title") .arg("Timezone")
.stdin(std::process::Stdio::piped()) .stdin(std::process::Stdio::piped())
.stdout(std::process::Stdio::piped()) .stdout(std::process::Stdio::piped())
.spawn() .spawn()