Subject: createpool: Clarify iscsi IQN fields (bz 1084011) From: Cole Robinson crobinso@redhat.com Thu Apr 3 11:19:03 2014 -0400 Date: Thu Apr 3 11:19:03 2014 -0400: Git: 8fa2aad1d31f811bb09505595c6401bdf6b90d78 Index: virt-manager-1.0.1/ui/createpool.ui =================================================================== --- virt-manager-1.0.1.orig/ui/createpool.ui +++ virt-manager-1.0.1/ui/createpool.ui @@ -315,7 +315,7 @@ True False 1 - _Source Path: + sourcep: True @@ -330,7 +330,7 @@ True False 1 - _IQN: + Initiator _IQN: True pool-iqn-chk Index: virt-manager-1.0.1/virtManager/createpool.py =================================================================== --- virt-manager-1.0.1.orig/virtManager/createpool.py +++ virt-manager-1.0.1/virtManager/createpool.py @@ -277,6 +277,11 @@ class vmmCreatePool(vmmGObjectUI): show_row("pool-iqn", iqn) show_row("pool-source-name", src_name) + if iqn: + self.widget("pool-source-label").set_label(_("_Source IQN:")) + else: + self.widget("pool-source-label").set_label(_("_Source Path:")) + if tgt: self.widget("pool-target-path").get_child().set_text( self._pool.target_path)