diff --git a/include/Utils.h b/include/Utils.h index 9eed1e52..dec562b0 100644 --- a/include/Utils.h +++ b/include/Utils.h @@ -100,15 +100,16 @@ enum FSType FS_BITLOCKER = 31, FS_GRUB2_CORE_IMG = 32, FS_ISO9660 = 33, - FS_LINUX_SWRAID = 34, - FS_LINUX_SWSUSPEND = 35, - FS_REFS = 36, - FS_UFS = 37, - FS_ZFS = 38, + FS_JBD = 34, + FS_LINUX_SWRAID = 35, + FS_LINUX_SWSUSPEND = 36, + FS_REFS = 37, + FS_UFS = 38, + FS_ZFS = 39, // Partition space usage colours - FS_USED = 39, - FS_UNUSED = 40 + FS_USED = 40, + FS_UNUSED = 41 } ; enum SIZE_UNIT diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index f28de6bf..6dec0e1f 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -1331,6 +1331,8 @@ FSType GParted_Core::detect_filesystem(const PedDevice *lp_device, const PedPart return FS_BITLOCKER; else if ( fsname == "iso9660" ) return FS_ISO9660; + else if ( fsname == "jbd" ) + return FS_JBD; else if ( fsname == "linux_raid_member" ) return FS_LINUX_SWRAID ; else if ( fsname == "swsusp" || diff --git a/src/Utils.cc b/src/Utils.cc index 6a1c181b..707e4bc1 100644 --- a/src/Utils.cc +++ b/src/Utils.cc @@ -183,6 +183,7 @@ Glib::ustring Utils::get_color(FSType fstype) case FS_BITLOCKER: return "#494066"; // Purple Shadow case FS_GRUB2_CORE_IMG: return "#666666"; // Dark Gray [*] case FS_ISO9660: return "#D3D3D3"; // Light Gray [*] + case FS_JBD: return "#314E6C"; // Blue Shadow case FS_LINUX_SWRAID: return "#826647"; // Face Skin Shadow case FS_LINUX_SWSUSPEND: return "#884631"; // Red Dark case FS_REFS: return "#3EA281"; // Aquamarine Dark [*] @@ -376,6 +377,7 @@ const Glib::ustring Utils::get_filesystem_string(FSType fstype) case FS_BITLOCKER: return "bitlocker"; case FS_GRUB2_CORE_IMG: return "grub2 core.img"; case FS_ISO9660: return "iso9660"; + case FS_JBD: return "jbd"; case FS_LINUX_SWRAID: return "linux-raid"; case FS_LINUX_SWSUSPEND: return "linux-suspend"; case FS_REFS: return "refs";