client/rhel/rhn-client-tools/src/up2date_client/tui.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
New commits:
commit 66a66f5122bfb5f9780ecff24b611af6c029f3ef
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Fri May 28 16:06:57 2010 +0200
597263 - give the focus to the ButtonBar (and thus to the Yes button), to behave as
RHEL 5 did.
diff --git a/client/rhel/rhn-client-tools/src/up2date_client/tui.py
b/client/rhel/rhn-client-tools/src/up2date_client/tui.py
index fa505e6..618cf52 100644
--- a/client/rhel/rhn-client-tools/src/up2date_client/tui.py
+++ b/client/rhel/rhn-client-tools/src/up2date_client/tui.py
@@ -110,6 +110,11 @@ class AlreadyRegisteredWindow:
oldsystemId = systemIdXml[0][0]['system_id']
toplevel = snack.GridForm(self.screen, _("System software updates already
set up"), 1, 2)
+ self.bb = snack.ButtonBar(self.screen,
+ [(YES_CONT, "next"),
+ (NO_CANCEL, "exit")])
+ toplevel.add(self.bb, 0, 1, growx = 1)
+
tb = snack.Textbox(size[0]-30, size[1]-20,
SYSTEM_ALREADY_REGISTERED + "\n\n"
+ _("Red Hat Network Location:") + " " +
self.tui.serverURL + "\n"
@@ -119,11 +124,6 @@ class AlreadyRegisteredWindow:
1, 1)
toplevel.add(tb, 0, 0, padding = (0, 0, 0, 1))
- self.bb = snack.ButtonBar(self.screen,
- [(YES_CONT, "next"),
- (NO_CANCEL, "exit")])
- toplevel.add(self.bb, 0, 1, growx = 1)
-
self.g = toplevel
def saveResults(self):
Show replies by thread