summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index 72cf941af..060acdfb7 100755
--- a/gui.py
+++ b/gui.py
@@ -241,7 +241,7 @@ class MessageWindow:
def getrc (self):
return self.rc
- def __init__ (self, title, text, type="ok"):
+ def __init__ (self, title, text, type="ok", default=None):
if flags.autostep:
print title, text, type
self.rc = 1
@@ -299,8 +299,8 @@ class InstallInterface:
self.ppw.setSizes (total, totalSize)
return self.ppw
- def messageWindow(self, title, text, type="ok"):
- rc = MessageWindow (title, text, type).getrc()
+ def messageWindow(self, title, text, type="ok", default = None):
+ rc = MessageWindow (title, text, type, default).getrc()
return rc
def exceptionWindow(self, title, text):