diff --git a/ui/details.ui b/ui/details.ui
index 4159f1dc0..c85e0e4bf 100644
--- a/ui/details.ui
+++ b/ui/details.ui
@@ -1468,22 +1468,10 @@ if you know what you are doing.</small>
True
False
3
- 2
+ 3
2
6
6
-
-
-
- GTK_FILL
- GTK_FILL
-
-
- 1
- 2
+ 2
+ 3
GTK_FILL
GTK_FILL
@@ -1513,6 +1501,30 @@ if you know what you are doing.</small>
GTK_FILL
+
+
+
+ GTK_FILL
+ GTK_FILL
+
+
+
+
+
+ 1
+ 2
+
+
+
+
+
+ 1
+ 2
+ 1
+ 2
+
+
@@ -5906,8 +5932,8 @@ if you know what you are doing.</small>
_Save this password in your keyring
True
True
- Check to save password, uncheck to forget password.
False
+ Check to save password, uncheck to forget password.
True
0
True
diff --git a/virtManager/details.py b/virtManager/details.py
index 089f578ad..20a61f7c7 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -310,6 +310,23 @@ def _warn_cpu_thread_topo(threads, cpu_model):
return False
+def _label_for_os_type(os_type):
+ typemap = {
+ "dos": _("MS-DOS/FreeDOS"),
+ "freebsd": _("FreeBSD"),
+ "hurd": _("GNU/Hurd"),
+ "linux": _("Linux"),
+ "minix": _("MINIX"),
+ "netbsd": _("NetBSD"),
+ "openbsd": _("OpenBSD"),
+ "windows": _("Microsoft Windows"),
+ }
+ try:
+ return typemap[os_type]
+ except KeyError:
+ return _("unknown")
+
+
class vmmDetails(vmmGObjectUI):
__gsignals__ = {
"action-save-domain": (GObject.SignalFlags.RUN_FIRST, None, [str, str]),
@@ -2379,6 +2396,10 @@ class vmmDetails(vmmGObjectUI):
if not hostname:
hostname = _("unknown")
self.widget("inspection-hostname").set_text(hostname)
+ os_type = self.vm.inspection.os_type
+ if not os_type:
+ os_type = "unknown"
+ self.widget("inspection-type").set_text(_label_for_os_type(os_type))
product_name = self.vm.inspection.product_name
if not product_name:
product_name = _("unknown")