summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-08-19 22:20:09 +0000
committerMatt Wilson <msw@redhat.com>2000-08-19 22:20:09 +0000
commit43c07d8e421d2d1b58ed5a62783897f4374c2b9c (patch)
tree8292a25a86aa7f7303c81568755a3117d36af4fc /gui.py
parentade964c81fec5afa9260a789cd6808887d52be20 (diff)
downloadanaconda-43c07d8e421d2d1b58ed5a62783897f4374c2b9c.tar.gz
anaconda-43c07d8e421d2d1b58ed5a62783897f4374c2b9c.tar.xz
anaconda-43c07d8e421d2d1b58ed5a62783897f4374c2b9c.zip
a little more tweaking
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui.py b/gui.py
index 7939a06ac..aeeb626c5 100755
--- a/gui.py
+++ b/gui.py
@@ -190,9 +190,11 @@ class ExceptionWindow:
class MessageWindow:
def quit (self, dialog, button=None):
- self.rc = button
+ if button != None:
+ self.rc = button
if self.mutex:
self.mutex.set ()
+ self.mutex = None
def okcancelquit (self, button):
self.rc = button
@@ -203,6 +205,7 @@ class MessageWindow:
return self.rc
def __init__ (self, title, text, type = "ok"):
+ self.rc = None
threads_enter ()
if type == "ok":
self.window = GnomeOkDialog (_(text))