diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-06-05 03:32:08 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-06-05 03:32:08 +0000 |
commit | baaccf08623b8fb1bb23f2251efc79d5047ef79a (patch) | |
tree | b0e6a508df9e7ff250c10096c53fda87f4d2c343 /textw | |
parent | 1b100c3894ac18682ece5bc36ca8b354af8b0993 (diff) | |
download | anaconda-baaccf08623b8fb1bb23f2251efc79d5047ef79a.tar.gz anaconda-baaccf08623b8fb1bb23f2251efc79d5047ef79a.tar.xz anaconda-baaccf08623b8fb1bb23f2251efc79d5047ef79a.zip |
fix popWindow() to be in the right place throughout
Diffstat (limited to 'textw')
-rw-r--r-- | textw/network_text.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/textw/network_text.py b/textw/network_text.py index 022d69e60..f51625cd3 100644 --- a/textw/network_text.py +++ b/textw/network_text.py @@ -115,9 +115,9 @@ class NetworkDeviceWindow: while 1: result = toplevel.run() rc = bb.buttonPressed (result) - screen.popWindow() if rc == TEXT_BACK_CHECK: + screen.popWindow() return INSTALL_BACK if self.onbootCb.selected() != 0: @@ -155,6 +155,7 @@ class NetworkDeviceWindow: break + screen.popWindow() return INSTALL_OK @@ -249,9 +250,9 @@ class NetworkGlobalWindow: while 1: result = toplevel.run() rc = bb.buttonPressed (result) - screen.popWindow() if rc == TEXT_BACK_CHECK: + screen.popWindow() return INSTALL_BACK val = gwEntry.value() @@ -278,7 +279,8 @@ class NetworkGlobalWindow: continue network.ternaryNS = val break - + + screen.popWindow() return INSTALL_OK @@ -349,9 +351,9 @@ class HostnameWindow: while 1: result = toplevel.run() rc = bb.buttonPressed(result) - screen.popWindow() if rc == TEXT_BACK_CHECK: + screen.popWindow() return INSTALL_BACK if radio.getSelection() != "manual": @@ -377,6 +379,7 @@ class HostnameWindow: network.hostname = hname break + screen.popWindow() return INSTALL_OK |