From 0f3537745cbf1dc05e209366813025c8eaa5ac66 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Mon, 19 Aug 2024 03:00:49 +0300 Subject: [PATCH] fix regression caused by locale changes --- src/manual_partitioning_page/mod.rs | 3 +-- src/timezone_page/mod.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/manual_partitioning_page/mod.rs b/src/manual_partitioning_page/mod.rs index 22c6f8a..7e2bfd1 100644 --- a/src/manual_partitioning_page/mod.rs +++ b/src/manual_partitioning_page/mod.rs @@ -11,7 +11,7 @@ const MINIMUM_EFI_BYTE_SIZE: f64 = 500000000.0; const MINIMUM_BOOT_BYTE_SIZE: f64 = 1000000000.0; const MINIMUM_ROOT_BYTE_SIZE: f64 = 39000000000.0; -#[derive(Clone, Debug)] +#[derive(Clone)] struct PartitionRow { widget: adw::ActionRow, used: Rc>, @@ -765,7 +765,6 @@ fn post_check_drive_mount(row: &DriveMountRow, partition_row_struct: &PartitionR #[strong] row, move |_| { - dbg!(&partition_row_struct); if row.mountpoint() == "[SWAP]" { if partition.part_fs != "linux-swap" { partition_row_struct.widget.set_sensitive(false); diff --git a/src/timezone_page/mod.rs b/src/timezone_page/mod.rs index 8701b66..901f873 100644 --- a/src/timezone_page/mod.rs +++ b/src/timezone_page/mod.rs @@ -53,7 +53,7 @@ pub fn timezone_page( .arg("show") .arg("--va") .arg("-p") - .arg("timezone_page_title") + .arg("Timezone") .stdin(std::process::Stdio::piped()) .stdout(std::process::Stdio::piped()) .spawn()