Permalink
Browse files

Merge pull request #15 from willejos/wj

s/WARN/QUESTION/ in 'on_question_clicked' method
  • Loading branch information...
sebp committed May 23, 2012
2 parents c0cecb3 + 5d63337 commit 736046f1f59bfce9f1db9bb10cb95c469d361ad2
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/messagedialog_example.py
@@ -64,9 +64,9 @@ def on_question_clicked(self, widget):
"And this is the secondary text that explains things.")
response = dialog.run()
if response == Gtk.ResponseType.YES:
- print "WARN dialog closed by clicking YES button"
+ print "QUESTION dialog closed by clicking YES button"
elif response == Gtk.ResponseType.NO:
- print "WARN dialog closed by clicking NO button"
+ print "QUESTION dialog closed by clicking NO button"
dialog.destroy()

0 comments on commit 736046f

Please sign in to comment.