diff options
author | Sascha Silbe <sascha-org-sugar-git@silbe.org> | 2009-04-06 14:19:40 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-org-sugar-git@silbe.org> | 2009-04-06 14:19:40 (GMT) |
commit | bc347b5ef315993116203bcef5f71e7ba6998d15 (patch) | |
tree | df4c0afd5ed9c081324e85092254e5fc1a7dc9cd | |
parent | b5d45d7f0429e2af04c70409a0844f12ef9de18d (diff) |
color the "Continue to write mode" button
-rwxr-xr-x | soas-assimilator.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/soas-assimilator.py b/soas-assimilator.py index 842f10c..e05e08d 100755 --- a/soas-assimilator.py +++ b/soas-assimilator.py @@ -469,7 +469,10 @@ class tApp (object) : What do you want to do? """.split("\n")])) - askDialog.add_buttons("Continue to write mode", gtk.RESPONSE_CANCEL, "Create image first", gtk.RESPONSE_OK) + continueButton = askDialog.add_button("Continue to write mode", gtk.RESPONSE_CANCEL) + continueButton.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse("#F00000")) + continueButton.modify_bg(gtk.STATE_PRELIGHT, gtk.gdk.color_parse("#FF0000")) + askDialog.add_button("Create image first", gtk.RESPONSE_OK) askDialog.set_title("Read images first?") res = askDialog.run() askDialog.destroy() |