virt-manager/534bcfa0-use-uniformed-expression-of-Default.patch

26 lines
1.0 KiB
Diff
Raw Normal View History

Subject: details: use uniformed expression of "Default"
From: Chen Hanxiao chenhanxiao@cn.fujitsu.com Mon Apr 14 20:08:00 2014 +0800
Date: Mon Apr 14 20:08:00 2014 +0800:
Git: 4ccb1d862b5499b7488a0587735a1941aa1f1a07
We use both "Default" and "default" for controllers
if no controller model needed.
They should be the same expression and "Default"
is a better choice.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
Index: virt-manager-1.0.1/virtManager/details.py
===================================================================
--- virt-manager-1.0.1.orig/virtManager/details.py
+++ virt-manager-1.0.1/virtManager/details.py
@@ -3048,7 +3048,7 @@ class vmmDetails(vmmGObjectUI):
self.widget("config-remove").set_sensitive(True)
uiutil.set_combo_entry(self.widget("controller-model"),
- dev.model or "default")
+ dev.model or "Default")
def refresh_filesystem_page(self):
dev = self.get_hw_selection(HW_LIST_COL_DEVICE)