From cb340c80a61395c5fde4bcf40b20994f30ac48ae Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Fri, 12 Sep 2025 10:29:58 +0600 Subject: [PATCH] Changed filesystem type combo boxes filling --- filesystems-format-list.csv | 10 ++++++ gresource.xml | 1 + source/CMakeLists.txt | 1 + source/ubinstall-gtk-installation.c | 12 +++++++ source/ubinstall-gtk.h | 1 + ubinstall-gtk.glade | 56 ----------------------------- 6 files changed, 25 insertions(+), 56 deletions(-) create mode 100644 filesystems-format-list.csv diff --git a/filesystems-format-list.csv b/filesystems-format-list.csv new file mode 100644 index 0000000..e1e5271 --- /dev/null +++ b/filesystems-format-list.csv @@ -0,0 +1,10 @@ +STATUS;NAME +1;ext4 +1;ext3 +1;exfat +1;fat32 +1;fat16 +1;riserfs +0;udf +0;xfs +1;zfs \ No newline at end of file diff --git a/gresource.xml b/gresource.xml index c7a8641..8cfa3cf 100644 --- a/gresource.xml +++ b/gresource.xml @@ -56,5 +56,6 @@ kernel-list-addon.csv services-list.csv network-list.csv + filesystems-format-list.csv \ No newline at end of file diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 1e9ccda..3174321 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -78,6 +78,7 @@ set(DEPENDFILES ../kernel-list-addon.csv ../services-list.csv ../network-list.csv + ../filesystems-format-list.csv ../icons-builtin/install_type_custom_normal.png ../icons-builtin/install_type_data_only_normal.png ../icons-builtin/install_type_fast_normal.png diff --git a/source/ubinstall-gtk-installation.c b/source/ubinstall-gtk-installation.c index 5c5f8f1..817e6d9 100644 --- a/source/ubinstall-gtk-installation.c +++ b/source/ubinstall-gtk-installation.c @@ -487,6 +487,18 @@ void yon_install_init(main_window *widgets, enum YON_PAGES page){ } } if (fs_type_combo){ + gtk_combo_box_text_remove_all(GTK_COMBO_BOX_TEXT(fs_type_combo)); + int size; + config_str fs_types = yon_resource_open_file(fs_types_path,&size); + for (int i=0;i 5 5 left - False True @@ -5240,17 +5239,6 @@ or continue working in the UBLinux Live environment. True False 1 - - ext3 - ext4 - fat16 - fat32 - exfat - riserfs - udf - xfs - zfs - True @@ -5917,17 +5905,6 @@ or continue working in the UBLinux Live environment. True False 1 - - ext3 - ext4 - fat16 - fat32 - exfat - riserfs - udf - xfs - zfs - True @@ -6553,17 +6530,6 @@ or continue working in the UBLinux Live environment. True False 1 - - ext3 - ext4 - fat16 - fat32 - exfat - riserfs - udf - xfs - zfs - True @@ -9437,17 +9403,6 @@ separately into the selected partition. False False 1 - - ext3 - ext4 - fat16 - fat32 - exfat - riserfs - udf - xfs - zfs - True @@ -10167,17 +10122,6 @@ separately into the selected partition. False False 1 - - ext3 - ext4 - fat16 - fat32 - exfat - riserfs - udf - xfs - zfs - True