From 35e85e5b02ea6dd809083b42287db9af8852ab0f Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Thu, 28 Sep 2023 16:57:28 +0100 Subject: [PATCH] Write file system type as "[Encrypted] FSTYPE" to saved details The GUI displays the file system of an open encrypted file system as "[Encrypted] FSTYPE" [1]. However saved details just writes the file system type as "luks". Update saved details writing code to use the same method the GUI currently uses [2]. [1] commit cb3cc505ce89d6f6fbb488defa826a389ae86cdc Display "[Encrypted] FSTYPE" in the File System column (#760080) [2] commit bd6fc67afb772ffa11ac904e3a7130f2253daa66 Provide virtual Partition::get_filesystem_string() method (#774818) --- src/Dialog_Progress.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dialog_Progress.cc b/src/Dialog_Progress.cc index 1d89bcec..1eb798b8 100644 --- a/src/Dialog_Progress.cc +++ b/src/Dialog_Progress.cc @@ -488,7 +488,7 @@ void Dialog_Progress::write_partition_details(const Partition& partition, std::o << "" << partition.sector_end << "" << "" << Glib::build_path(", ", partition.flags) << "" << "" << partition.name << "" - << "" << Utils::get_filesystem_string(partition.fstype) << "" + << "" << partition.get_filesystem_string() << "" << "" << partition.get_filesystem_label() << "" << "" << Glib::build_path(", ", partition.get_mountpoints()) << "" << "" << std::endl;