mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
migrate: Fix some expander spacing issues
This commit is contained in:
parent
0db10e366b
commit
4c61287e01
@ -81,11 +81,15 @@ class vmmMigrateDialog(vmmGObjectUI):
|
||||
|
||||
def show(self, parent):
|
||||
self.reset_state()
|
||||
self.topwin.resize(1, 1)
|
||||
self.topwin.set_transient_for(parent)
|
||||
self.topwin.present()
|
||||
|
||||
def close(self, ignore1=None, ignore2=None):
|
||||
self.topwin.hide()
|
||||
# If we only do this at show time, operation takes too long and
|
||||
# user actually sees the expander close.
|
||||
self.widget("migrate-advanced-expander").set_expanded(False)
|
||||
return 1
|
||||
|
||||
def cleanup(self):
|
||||
@ -131,7 +135,6 @@ class vmmMigrateDialog(vmmGObjectUI):
|
||||
self.widget("migrate-label-name").set_text(name)
|
||||
self.widget("migrate-label-src").set_text(srchost)
|
||||
|
||||
self.widget("migrate-advanced-expander").set_expanded(False)
|
||||
self.widget("migrate-set-interface").set_active(False)
|
||||
self.widget("migrate-set-rate").set_active(False)
|
||||
self.widget("migrate-set-port").set_active(False)
|
||||
|
Loading…
Reference in New Issue
Block a user