diff options
author | Mike Fulbright <msf@redhat.com> | 2001-03-01 00:02:20 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-03-01 00:02:20 +0000 |
commit | d1673324ea27bf6eb1ab2795d8d7a3dc8b5c9143 (patch) | |
tree | ca8b168d306576711902eaee1212f779b02907b6 /gui.py | |
parent | f040348adc40e3627aaa271b1bd93bb6effed1ec (diff) | |
download | anaconda-d1673324ea27bf6eb1ab2795d8d7a3dc8b5c9143.tar.gz anaconda-d1673324ea27bf6eb1ab2795d8d7a3dc8b5c9143.tar.xz anaconda-d1673324ea27bf6eb1ab2795d8d7a3dc8b5c9143.zip |
fix for bug 26792
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -235,6 +235,12 @@ class MessageWindow: if self.mutex: self.mutex.set () + def questionquit (self, button): + self.rc = button + + if self.mutex: + self.mutex.set () + def getrc (self): return self.rc @@ -247,6 +253,9 @@ class MessageWindow: self.window.connect ("close", self.quit) if type == "okcancel": self.window = GnomeOkCancelDialog (_(text), self.okcancelquit) + if type == "yesno": + self.window = GnomeQuestionDialog (_(text), self.questionquit) + # this is the pixmap + the label hbox = self.window.vbox.children ()[0] label = hbox.children ()[1] |