Ticket #4240: 0001-Reload-fixed.patch

File 0001-Reload-fixed.patch, 816 bytes (added by humitos, 11 years ago)
  • webtoolbar.py

    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): 
    458458                not self._tabbed_view.is_current_page_pdf():
    459459            entry.set_text('')
    460460        else:
    461             self._browser.reload()
    462461            if self._loading:
    463462                self._browser.stop_loading()
    464463            else: