summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2002-06-25 21:16:01 +0000
committerMike Fulbright <msf@redhat.com>2002-06-25 21:16:01 +0000
commit25e25f4c73bd63ceb64ab0a6b0bf0315a2617661 (patch)
tree27b58235ea6bc6e068513a008dfdebe0550c69d1 /text.py
parent32bcef61b254cf40b922fffce03faf1d0b05b737 (diff)
downloadanaconda-25e25f4c73bd63ceb64ab0a6b0bf0315a2617661.tar.gz
anaconda-25e25f4c73bd63ceb64ab0a6b0bf0315a2617661.tar.xz
anaconda-25e25f4c73bd63ceb64ab0a6b0bf0315a2617661.zip
add beta nag screen
Diffstat (limited to 'text.py')
-rw-r--r--text.py5
1 files changed, 3 insertions, 2 deletions
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: