summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-12-27 21:11:55 +0000
committerJeremy Katz <katzj@redhat.com>2001-12-27 21:11:55 +0000
commitd250f352fd4f717ec659c4374670e3bad45ae402 (patch)
treeb08773d9884dc8361283f89d84c4d8fffdbabde7
parent427109df74692b13b3b92de7fd94c28dca5c82b1 (diff)
downloadanaconda-d250f352fd4f717ec659c4374670e3bad45ae402.tar.gz
anaconda-d250f352fd4f717ec659c4374670e3bad45ae402.tar.xz
anaconda-d250f352fd4f717ec659c4374670e3bad45ae402.zip
add a warning message box
-rwxr-xr-xgui.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index ef83c2e36..34ad52f12 100755
--- a/gui.py
+++ b/gui.py
@@ -260,6 +260,9 @@ class MessageWindow:
if type == 'ok':
buttons = gtk.BUTTONS_OK
style = gtk.MESSAGE_INFO
+ elif type == 'warning':
+ buttons = gtk.BUTTONS_OK
+ style = gtk.MESSAGE_WARNING
elif type == 'okcancel':
buttons = gtk.BUTTONS_OK_CANCEL
style = gtk.MESSAGE_WARNING