diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-12-27 21:11:55 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-12-27 21:11:55 +0000 |
commit | d250f352fd4f717ec659c4374670e3bad45ae402 (patch) | |
tree | b08773d9884dc8361283f89d84c4d8fffdbabde7 | |
parent | 427109df74692b13b3b92de7fd94c28dca5c82b1 (diff) | |
download | anaconda-d250f352fd4f717ec659c4374670e3bad45ae402.tar.gz anaconda-d250f352fd4f717ec659c4374670e3bad45ae402.tar.xz anaconda-d250f352fd4f717ec659c4374670e3bad45ae402.zip |
add a warning message box
-rwxr-xr-x | gui.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |