From fcbd9d246f80b7eb2b88daa8df207a71ad3f1f1b Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Tue, 20 Aug 2024 08:41:10 +0300 Subject: [PATCH] --- src/manual_partitioning_page/func.rs | 5 +---- src/manual_partitioning_page/mod.rs | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/manual_partitioning_page/func.rs b/src/manual_partitioning_page/func.rs index 8c3e808..b0742bd 100644 --- a/src/manual_partitioning_page/func.rs +++ b/src/manual_partitioning_page/func.rs @@ -5,8 +5,7 @@ use adw::gio; use adw::prelude::*; use glib::{clone, closure_local, ffi::gboolean}; use gtk::{glib, prelude::*}; -use std::borrow::Borrow; -use std::{cell::{RefCell}, rc::Rc}; +use std::{cell::RefCell, rc::Rc}; const MINIMUM_EFI_BYTE_SIZE: f64 = 500000000.0; const MINIMUM_BOOT_BYTE_SIZE: f64 = 1000000000.0; @@ -741,8 +740,6 @@ pub fn create_mount_row( row.set_langaction(language_changed_action); - row.set_id(extra_mount_id_refcell.borrow()); - let null_checkbutton = gtk::CheckButton::builder().build(); diff --git a/src/manual_partitioning_page/mod.rs b/src/manual_partitioning_page/mod.rs index cd9eae6..f31c21b 100644 --- a/src/manual_partitioning_page/mod.rs +++ b/src/manual_partitioning_page/mod.rs @@ -32,6 +32,7 @@ pub fn manual_partitioning_page( let partition_array_refcell = Rc::new(RefCell::new(get_partitions())); let used_partition_array_refcell: Rc>> = Rc::new(RefCell::default()); let subvol_partition_array_refcell: Rc>> = Rc::new(RefCell::default()); + //let subvol_partition_array_refcell: Rc>> = Rc::new(RefCell::default()); //