diff --git a/ui/createvol.ui b/ui/createvol.ui index 80edcc269..a77048f4b 100644 --- a/ui/createvol.ui +++ b/ui/createvol.ui @@ -260,51 +260,16 @@ - + True False - 3 - - - True - False - (parent-name) - - - False - False - 0 - - - - - True - False - available space: - True - - - False - False - 1 - - - - - True - False - (space) - - - False - False - 2 - - + start + <b>pool's</b> available space: X GiB + True False - False + True 1 diff --git a/virtManager/createvol.py b/virtManager/createvol.py index 91dd7743b..2715237ff 100644 --- a/virtManager/createvol.py +++ b/virtManager/createvol.py @@ -144,10 +144,11 @@ class vmmCreateVolume(vmmGObjectUI): self.widget("vol-capacity").set_range(0.1, 1000000) self.widget("vol-capacity").set_value(default_cap) - self.widget("vol-parent-name").set_markup( - "" + self._parent_pool.get_name() + "'s") - self.widget("vol-parent-space").set_text( - self._parent_pool.get_pretty_available()) + self.widget("vol-parent-info").set_markup( + _("%(volume)s's available space: %(size)s") % { + "volume": self._parent_pool.get_name(), + "size": self._parent_pool.get_pretty_available(), + }) ###################