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 cb3cc505ce
    Display "[Encrypted] FSTYPE" in the File System column (#760080)

[2] commit bd6fc67afb
    Provide virtual Partition::get_filesystem_string() method (#774818)
This commit is contained in:
Mike Fleetwood 2023-09-28 16:57:28 +01:00 committed by Curtis Gedak
parent 1115fa2be8
commit 35e85e5b02
1 changed files with 1 additions and 1 deletions

View File

@ -488,7 +488,7 @@ void Dialog_Progress::write_partition_details(const Partition& partition, std::o
<< "<td class='number_col'>" << partition.sector_end << "</td>" << "<td class='number_col'>" << partition.sector_end << "</td>"
<< "<td>" << Glib::build_path(", ", partition.flags) << "</td>" << "<td>" << Glib::build_path(", ", partition.flags) << "</td>"
<< "<td>" << partition.name << "</td>" << "<td>" << partition.name << "</td>"
<< "<td>" << Utils::get_filesystem_string(partition.fstype) << "</td>" << "<td>" << partition.get_filesystem_string() << "</td>"
<< "<td>" << partition.get_filesystem_label() << "</td>" << "<td>" << partition.get_filesystem_label() << "</td>"
<< "<td>" << Glib::build_path(", ", partition.get_mountpoints()) << "</td>" << "<td>" << Glib::build_path(", ", partition.get_mountpoints()) << "</td>"
<< "</tr>" << std::endl; << "</tr>" << std::endl;