From 8daf435472f9183a091cbb27b6fa470b6b725c80 Mon Sep 17 00:00:00 2001 From: Ward from fusion-voyager-3 Date: Wed, 27 Nov 2024 18:38:34 +0300 Subject: [PATCH] add some things idk --- locales/en_US.json | 10 +++++++++- src/manual_partitioning_page/func.rs | 8 ++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/locales/en_US.json b/locales/en_US.json index 5c4bd25..b86baf8 100644 --- a/locales/en_US.json +++ b/locales/en_US.json @@ -133,5 +133,13 @@ "devices_selection_button_row_dialog_manual_body": "Please Select a Partition for This Filesystem Mount", "devices_selection_button_row_dialog_ok_label": "Done", "system_drive_mounts_adw_listbox_label_label" : "System Filesystem Entries (Required)", - "custom_drive_mounts_adw_listbox_label_label" : "Custom User Filesystem Entries (Optional)" + "custom_drive_mounts_adw_listbox_label_label" : "Custom User Filesystem Entries (Optional)", + "drive_mount_row_title_efi": "EFI Filesystem Entry", + "drive_mount_row_subtitle_efi": "This Entry's Partition Mounted at (/boot/efi) Will Store The Files Of The UEFI Bootloader.", + "drive_mount_row_title_boot": "Boot Filesystem Entry", + "drive_mount_row_subtitle_boot": "This Entry's Partition Mounted at (/boot) Will Store The Kernel and Other Important Boot Files. (Must Be Formatted)", + "drive_mount_row_title_root": "Root Filesystem Entry", + "drive_mount_row_subtitle_root": "This Entry's Partition Mounted at (/) Will Store The All The System Files and Applications. (Must Be Formatted)", + "drive_mount_row_title_custom": "Custom User Filesystem Entry (ID: {ID})", + "drive_mount_row_subtitle_custom": "A Custom Filesystem Entry Added by You" } diff --git a/src/manual_partitioning_page/func.rs b/src/manual_partitioning_page/func.rs index a66ebbf..aef5265 100644 --- a/src/manual_partitioning_page/func.rs +++ b/src/manual_partitioning_page/func.rs @@ -61,6 +61,8 @@ pub fn create_efi_row( row.set_mountpoint("/boot/efi"); + row.set_expanded(true); + row.set_id(0); let null_checkbutton = gtk::CheckButton::builder().build(); @@ -299,6 +301,8 @@ pub fn create_boot_row( row.set_id(1); + row.set_expanded(true); + let null_checkbutton = gtk::CheckButton::builder().build(); for partition in partition_array { @@ -535,6 +539,8 @@ pub fn create_root_row( row.set_id(2); + row.set_expanded(true); + let null_checkbutton = gtk::CheckButton::builder().build(); for partition in partition_array { @@ -787,6 +793,8 @@ pub fn create_mount_row( (*extra_mount_id_refcell.borrow_mut()) += 1; + row.set_expanded(true); + let null_checkbutton = gtk::CheckButton::builder().build(); for partition in partition_array {