diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-05-05 04:37:28 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-05-05 04:37:28 (GMT) |
commit | a5635666753a3ac266664c9dd85f812f50d81cff (patch) | |
tree | 38d9511b4fc07808d81e4e3863a3f18f1b0831a2 /questions.py | |
parent | f9b8f83e720d85ea1ee4313f93ee102a100bd022 (diff) |
Add feedback about the result of a question replied
Display a smiley good or bad according to the result
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'questions.py')
-rw-r--r-- | questions.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/questions.py b/questions.py index bb60153..2e9c684 100644 --- a/questions.py +++ b/questions.py @@ -13,6 +13,9 @@ from sugar.activity import activity from sugar.graphics.icon import Icon from sugar.graphics.objectchooser import ObjectChooser +SMILIES_OK = ['cool', 'grin', 'nerd', 'smile', 'wink'] +SMILIES_WRONG = ['sad', 'sick', 'weep'] + class DrawReplyArea(gtk.DrawingArea): |