details: refresh Information page on inspection data change

Refresh the 'Information' page when there are new inspection data
available, so they can be seen even without switching to a different
page and back.  This could be seen when starting virt-manager, and
opening quickly the 'Information' page of an uninspected guest.
This commit is contained in:
Pino Toscano 2017-02-23 11:22:26 +01:00 committed by Cole Robinson
parent 45d0be9805
commit 436d4c544c

View File

@ -580,6 +580,7 @@ class vmmDetails(vmmGObjectUI):
# Deliberately keep all this after signal connection
self.vm.connect("state-changed", self.refresh_vm_state)
self.vm.connect("resources-sampled", self.refresh_resources)
self.vm.connect("inspection-changed", lambda *x: self.refresh_inspection_page())
self.populate_hw_list()