[virt-tools-list] [PATCH 7/9] Fixed the Finish button on the remove pool command.
Darryl L. Pierce
dpierce at redhat.com
Fri Jul 22 15:32:10 UTC 2011
From: "Darryl L. Pierce" <dpierce at redhat.com>
The command now confirms when a pool has been removed.
---
src/virtManagerTui/removepool.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/virtManagerTui/removepool.py b/src/virtManagerTui/removepool.py
index 754ddf0..0561e75 100644
--- a/src/virtManagerTui/removepool.py
+++ b/src/virtManagerTui/removepool.py
@@ -64,10 +64,10 @@ class RemoveStoragePoolConfigScreen(StorageListConfigScreen):
if page is CONFIRM_PAGE:
self.get_libvirt().destroy_storage_pool(self.get_selected_pool())
self.get_libvirt().undefine_storage_pool(self.get_selected_pool())
- self.set_finished()
def get_confirm_page(self, screen):
ignore = screen
+ self.set_finished()
self.__confirm = Checkbox("Check here to confirm deleting pool: %s" % self.get_selected_pool())
fields = []
fields.append((None, self.__confirm))
--
1.7.6
More information about the virt-tools-list
mailing list