From 56183b0d71ada694a9a6feeace322fad5b854af6 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Wed, 22 Jun 2022 13:32:09 +0200 Subject: [PATCH] SnapshotListBox: Fix distro name LinuxMint -> Linux Mint --- src/Gtk/SnapshotListBox.vala | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Gtk/SnapshotListBox.vala b/src/Gtk/SnapshotListBox.vala index a8e121c..8bf985b 100644 --- a/src/Gtk/SnapshotListBox.vala +++ b/src/Gtk/SnapshotListBox.vala @@ -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){