Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
path: root/browser.py
diff options
authorManuel Kaufmann <humitos@gmail.com>2012-10-11 19:24:33 (GMT)
committer Simon Schampijer <simon@laptop.org>2012-10-16 11:12:10 (GMT)
commited8d8f4be9a857a9754d0211e36c62e3551096c0 (patch)
tree104931d13c6895cd82a573aca8569872057e1faa /browser.py
parent2e2d481748eb77a72e641df559c945439a794595 (diff)
Show url in url entry when page can not be loaded, SL #4039
The url is shown in the URL entry so we are able to edit it, it gives us another feedback hint which page could not be loaded and if you connect to the Internet after that we can reload the page. Signed-off-by: Manuel Kaufmann <humitos@gmail.com> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'browser.py')
1 files changed, 1 insertions, 1 deletions
diff --git a/browser.py b/browser.py
index 472d83b..fad804f 100644
--- a/browser.py
+++ b/browser.py
@@ -658,7 +658,7 @@ class Browser(WebKit.WebView):
html = open(DEFAULT_ERROR_PAGE, 'r').read() % data
- web_frame.load_alternate_string(html, '', uri)
+ web_frame.load_alternate_string(html, uri, uri)
return True