fix: removing new status notification on window activation, Closes #33
commit2959f0ffd61f734d96b2d17e49685f4d8da7d4b4
authorGergely Imreh <imrehg@gmail.com>
Tue, 2 Jun 2009 04:06:17 +0000 (2 12:06 +0800)
committerGergely Imreh <imrehg@gmail.com>
Tue, 2 Jun 2009 04:06:17 +0000 (2 12:06 +0800)
tree9e73890976b58e02ccd6c934642967b0f989f0ad
parent46c457fdd70708f5f67084242c300c95937957b3
fix: removing new status notification on window activation, Closes #33

On Linux the new status notification wasn't removed reliably when the
app window was shown (going there with Alt-Tab). Removing the requirement
of an EXPOSE_EVENT, and just checking window.is_active() seems to be enough.
Since it is relaxed conditioning, should still work on windows too.
minibook.py