[virt-tools-list] [PATCH] Fixed the accidental Grid lingering in addnetwork.py.

Darryl L. Pierce dpierce at redhat.com
Fri Jul 15 14:39:55 UTC 2011


From: "Darryl L. Pierce" <dpierce at redhat.com>

---
 src/virtManagerTui/addnetwork.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/virtManagerTui/addnetwork.py b/src/virtManagerTui/addnetwork.py
index 776020f..f56acf7 100644
--- a/src/virtManagerTui/addnetwork.py
+++ b/src/virtManagerTui/addnetwork.py
@@ -192,11 +192,9 @@ class AddNetworkConfigScreen(VmmTuiConfigScreen):
 
     def get_public_network_alert_page(self, screen):
         ignore = screen
-        grid = Grid(1, 2)
-        grid.setField(Label("The network should normally use a private IPv4 address."), 0, 0, anchorLeft = 1)
-        grid.setField(Label("Use this non-private address anyway?"), 0, 1, anchorLeft = 1)
         return [Label("Check Network Address"),
-                grid]
+                Label("The network should normally use a private IPv4 address."),
+                Label("Use this non-private address anyway?")]
 
     def get_dhcp_range_page(self, screen):
         ignore = screen
-- 
1.7.6




More information about the virt-tools-list mailing list