virt-manager/virtman-storage-pool-fix.diff

21 lines
775 B
Diff
Raw Normal View History

Subject: storagepool: Fix RHEL6 gtk compat issue
From: Cole Robinson crobinso@redhat.com Wed Aug 24 12:52:46 2011 -0400
Date: Wed Aug 24 12:52:46 2011 -0400:
Git: 14586040349d40e4a437361ea09e6bb98776a34f
Index: virt-manager-0.9.0/src/virtManager/createpool.py
===================================================================
--- virt-manager-0.9.0.orig/src/virtManager/createpool.py
+++ virt-manager-0.9.0/src/virtManager/createpool.py
@@ -391,7 +391,7 @@ class vmmCreatePool(vmmGObjectUI):
def get_config_iqn(self):
iqn = self.widget("pool-iqn")
- if iqn.get_sensitive() and iqn.get_property("visible"):
+ if iqn.get_property("sensitive") and iqn.get_property("visible"):
return iqn.get_text().strip()
return None