addhw: Drop intro text, simplify UI alignment

This commit is contained in:
Cole Robinson 2013-09-09 13:06:37 -04:00
parent 32c990dc29
commit 9ca0545533
2 changed files with 1621 additions and 2183 deletions

File diff suppressed because it is too large Load Diff

View File

@ -958,13 +958,8 @@ class vmmAddHardware(vmmGObjectUI):
show_something = False
for param_name, widget_name in tpm_widget_mappings.items():
make_visible = self._dev.supports_property(param_name)
if make_visible:
show_something = True
self.widget(widget_name).set_visible(make_visible)
self.widget(widget_name + "-label").set_visible(make_visible)
self.widget("tpm-param-box").set_visible(show_something)
uihelpers.set_grid_row_visible(self.widget(widget_name + "-label"),
make_visible)
def change_char_device_type(self, src):
idx = src.get_active()