SnapshotListBox: Fix distro name LinuxMint -> Linux Mint

This commit is contained in:
Clement Lefebvre 2022-06-22 13:32:09 +02:00
parent d7d6edbdc1
commit 56183b0d71

View File

@ -445,6 +445,11 @@ class SnapshotListBox : Gtk.Box{
var ctxt = (cell as Gtk.CellRendererText);
ctxt.text = bak.sys_distro;
if ("LinuxMint" in ctxt.text) {
ctxt.text = ctxt.text.replace("LinuxMint", "Linux Mint");
}
ctxt.sensitive = !bak.marked_for_deletion;
if (bak.live){