diff options
author | Aleksey Lim <alsroot@sugarlabs.org> | 2012-08-17 22:36:31 (GMT) |
---|---|---|
committer | Aleksey Lim <alsroot@sugarlabs.org> | 2012-08-17 22:36:31 (GMT) |
commit | c4e3720d867fe8fdcd8ca989e64b4d78052c5629 (patch) | |
tree | ac2890239a2eab2642cc7c95286478a5b5cd6f94 | |
parent | ed3a1ecdf3c5c0029e65f33afb4640cce25cf432 (diff) |
Revert original behaviour with refreshing webview only on [un]mount events
-rw-r--r-- | plugin/browser.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugin/browser.py b/plugin/browser.py index 58a987d..fc7733a 100644 --- a/plugin/browser.py +++ b/plugin/browser.py @@ -106,7 +106,8 @@ class Browser(Window): self.disconnect_by_func(self.__realize_cb) def __Event_cb(self, event): - self._open() + if event.get('event') in ('mount', 'umount'): + self._open() class Palette(BasePalette): |