From 25e25f4c73bd63ceb64ab0a6b0bf0315a2617661 Mon Sep 17 00:00:00 2001 From: Mike Fulbright Date: Tue, 25 Jun 2002 21:16:01 +0000 Subject: add beta nag screen --- text.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'text.py') diff --git a/text.py b/text.py index 23d2e33e0..31b4cf9a1 100644 --- a/text.py +++ b/text.py @@ -243,7 +243,7 @@ class InstallInterface: return ProgressWindow(self.screen, title, text, total) def messageWindow(self, title, text, type="ok", default = None, - custom_buttons=[]): + custom_icon=None, custom_buttons=[]): if type == "ok": ButtonChoiceWindow(self.screen, title, text, buttons=[TEXT_OK_BUTTON]) @@ -263,7 +263,8 @@ class InstallInterface: for but in custom_buttons: tmpbut.append(string.replace(but,"_","")) - rc = ButtonChoiceWindow(self.screen, title, text, buttons=tmpbut) + rc = ButtonChoiceWindow(self.screen, title, text, width=60, + buttons=tmpbut) idx = 0 for b in tmpbut: -- cgit