diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2010-06-16 17:35:56 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2010-06-16 17:38:40 (GMT) |
commit | 09cc6048656b29eebec3b0502fa342dd516b4281 (patch) | |
tree | 029cd6c65d25a1e705116e647aa49ba48452d57e /progresslistener.py | |
parent | 910ecbfd1d93463c8cd809f3d80ae72f3a6a16b5 (diff) |
remove EOL spaces
Diffstat (limited to 'progresslistener.py')
-rw-r--r-- | progresslistener.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/progresslistener.py b/progresslistener.py index 5ac7d7a..b3e401c 100644 --- a/progresslistener.py +++ b/progresslistener.py @@ -42,11 +42,11 @@ class ProgressListener(gobject.GObject): interfaces.nsIWebProgress.NOTIFY_LOCATION browser.web_progress.addProgressListener(self._wrapped_self, mask) - + def _reset_requests_count(self): self._total_requests = 0 self._completed_requests = 0 - + def onLocationChange(self, webProgress, request, location): self._location = location self.notify('location') @@ -54,10 +54,10 @@ class ProgressListener(gobject.GObject): def onProgressChange(self, webProgress, request, curSelfProgress, maxSelfProgress, curTotalProgress, maxTotalProgress): pass - + def onSecurityChange(self, webProgress, request, state): pass - + def onStateChange(self, webProgress, request, stateFlags, status): if stateFlags & interfaces.nsIWebProgressListener.STATE_IS_REQUEST: if stateFlags & interfaces.nsIWebProgressListener.STATE_START: @@ -68,7 +68,7 @@ class ProgressListener(gobject.GObject): if stateFlags & interfaces.nsIWebProgressListener.STATE_IS_NETWORK: if stateFlags & interfaces.nsIWebProgressListener.STATE_START: self._loading = True - self._reset_requests_count() + self._reset_requests_count() self.notify('loading') elif stateFlags & interfaces.nsIWebProgressListener.STATE_STOP: self._loading = False |