From 61cf360f613e491286e266c6bc35c9e18248c7d5 Mon Sep 17 00:00:00 2001
From: Manuel Kaufmann <humitos@gmail.com>
Date: Tue, 30 Oct 2012 21:35:06 -0300
Subject: [PATCH Browse] Reload fixed
Call self._browser.reload() just if the entry does not
have focus and the page is not loading.
Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
---
webtoolbar.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/webtoolbar.py b/webtoolbar.py
index b4ce94c..fcee1e6 100644
a
|
b
|
class PrimaryToolbar(ToolbarBase): |
458 | 458 | not self._tabbed_view.is_current_page_pdf(): |
459 | 459 | entry.set_text('') |
460 | 460 | else: |
461 | | self._browser.reload() |
462 | 461 | if self._loading: |
463 | 462 | self._browser.stop_loading() |
464 | 463 | else: |