fix hide problem in Xmonad.
Merge pull request #3 from gansteed/master

For some unknown reason, in Xmonad self.state_event don't get event from gtk.Window.iconify(). As a result the window fails to hide. This commit can be a fix for now.