diff options
author | Mike Fulbright <msf@redhat.com> | 2002-06-10 19:02:30 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-06-10 19:02:30 +0000 |
commit | 27d0a7dc129a2d24f0fd6e629d140869a17e683e (patch) | |
tree | 64c36a9b865f121aeb066095ff1f7ee8e6a47692 /gui.py | |
parent | bb99f24c5a842f993575bd040cd7ced8c228c48f (diff) | |
download | anaconda-27d0a7dc129a2d24f0fd6e629d140869a17e683e.tar.gz anaconda-27d0a7dc129a2d24f0fd6e629d140869a17e683e.tar.xz anaconda-27d0a7dc129a2d24f0fd6e629d140869a17e683e.zip |
change slightly so tui and gui frontends can share concept of custom buttons, related to bug #66353
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -293,7 +293,11 @@ class MessageWindow: if docustom: rid=0 for button in custom_buttons: - widget = dialog.add_button(button, rid) + if button == _("Cancel"): + tbutton = "gtk-cancel" + else: + tbutton = button + widget = dialog.add_button(tbutton, rid) rid = rid + 1 defaultchoice = rid - 1 |