multi fs support backend

This commit is contained in:
Ward from fusion-voyager-3 2024-08-15 21:12:24 +03:00
parent 9a0786b0ec
commit 3a5184a0d4
3 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,7 @@ pub fn automatic_partitioning_page(
main_carousel: &adw::Carousel,
partition_method_type_refcell: &Rc<RefCell<String>>,
partition_method_automatic_target_refcell: &Rc<RefCell<String>>,
partition_method_automatic_target_fs_refcell: &Rc<RefCell<String>>,
partition_method_automatic_luks_enabled_refcell: &Rc<RefCell<bool>>,
partition_method_automatic_luks_refcell: &Rc<RefCell<String>>,
partition_method_automatic_ratio_refcell: &Rc<RefCell<String>>,
@ -404,6 +405,8 @@ pub fn automatic_partitioning_page(
#[strong]
partition_method_automatic_target_refcell,
#[strong]
partition_method_automatic_target_fs_refcell,
#[strong]
partition_method_automatic_luks_refcell,
#[strong]
partition_method_automatic_luks_enabled_refcell,
@ -415,6 +418,7 @@ pub fn automatic_partitioning_page(
{
//main_carousel.scroll_to(&main_carousel.nth_page(5), true)
dbg!(partition_method_type_refcell.borrow());
dbg!(partition_method_automatic_target_fs_refcell.borrow());
dbg!(partition_method_automatic_target_refcell.borrow());
dbg!(partition_method_automatic_luks_enabled_refcell.borrow());
dbg!(partition_method_automatic_luks_refcell.borrow());

View File

@ -55,6 +55,7 @@ pub fn build_ui(app: &adw::Application) {
let timezone_selection_text_refcell: Rc<RefCell<String>> = Rc::new(RefCell::default());
let partition_method_type_refcell: Rc<RefCell<String>> = Rc::new(RefCell::default());
let partition_method_automatic_target_refcell: Rc<RefCell<String>> = Rc::new(RefCell::default());
let partition_method_automatic_target_fs_refcell: Rc<RefCell<String>> = Rc::new(RefCell::default());
let partition_method_automatic_luks_enabled_refcell: Rc<RefCell<bool>> = Rc::new(RefCell::new(false));
let partition_method_automatic_luks_refcell: Rc<RefCell<String>> = Rc::new(RefCell::default());
let partition_method_automatic_ratio_refcell: Rc<RefCell<String>> = Rc::new(RefCell::default());
@ -74,6 +75,7 @@ pub fn build_ui(app: &adw::Application) {
&carousel,
&partition_method_type_refcell,
&partition_method_automatic_target_refcell,
&partition_method_automatic_target_fs_refcell,
&partition_method_automatic_luks_enabled_refcell,
&partition_method_automatic_luks_refcell,
&partition_method_automatic_ratio_refcell,

View File

@ -9,6 +9,7 @@ pub fn partitioning_page(
main_carousel: &adw::Carousel,
partition_method_type_refcell: &Rc<RefCell<String>>,
partition_method_automatic_target_refcell: &Rc<RefCell<String>>,
partition_method_automatic_target_fs_refcell: &Rc<RefCell<String>>,
partition_method_automatic_luks_enabled_refcell: &Rc<RefCell<bool>>,
partition_method_automatic_luks_refcell: &Rc<RefCell<String>>,
partition_method_automatic_ratio_refcell: &Rc<RefCell<String>>,
@ -96,6 +97,7 @@ pub fn partitioning_page(
&partitioning_carousel,
&partition_method_type_refcell,
&partition_method_automatic_target_refcell,
&partition_method_automatic_target_fs_refcell,
&partition_method_automatic_luks_enabled_refcell,
&partition_method_automatic_luks_refcell,
&partition_method_automatic_ratio_refcell,