fix regression caused by locale changes
This commit is contained in:
parent
6665cc4531
commit
0f3537745c
@ -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);
|
||||||
|
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user