[virt-tools-list] [PATCH virt-manager] show details of controller device

Chen Hanxiao chenhanxiao at cn.fujitsu.com
Thu Jan 16 03:53:43 UTC 2014


From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>

We could specify 'model' for controllers,
that means we could see more than one controllers
with same icon and blank details.
That will confuse users.
This patch will show details of controller device.

Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
---
 virtManager/details.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/virtManager/details.py b/virtManager/details.py
index 72fbc98..29c755b 100644
--- a/virtManager/details.py
+++ b/virtManager/details.py
@@ -3319,6 +3319,7 @@ class vmmDetails(vmmGObjectUI):
             self.widget("config-remove").set_sensitive(True)
 
         self.set_combo_entry("controller-model", dev.model or "default")
+        uihelpers.set_grid_row_visible(self.widget("controller-model"), True)
 
     def refresh_filesystem_page(self):
         dev = self.get_hw_selection(HW_LIST_COL_DEVICE)
-- 
1.8.2.1




More information about the virt-tools-list mailing list