Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2013-04-11 17:56:22 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2013-04-11 17:57:31 (GMT)
commit11c09800773d4d7eb96b8e0dcd83f3d9422e03f8 (patch)
tree409f8fecb6873db1a606f98608fca85c4475824d
parent7e31cfa6371d18d9f1de02919644a7c26f6b141b (diff)
Pdf tabs: make URL entry insensitive - SL #3741
Otherwise the URL looks like it could be edited. Signed-off-by: Manuel Quiñones <manuq@laptop.org>
-rw-r--r--webtoolbar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/webtoolbar.py b/webtoolbar.py
index 6b95a8d..f3c5541 100644
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -515,8 +515,10 @@ class PrimaryToolbar(ToolbarBase):
self._show_stop_icon()
else:
if not self._tabbed_view.is_current_page_pdf():
+ self.set_sensitive(True)
self._show_reload_icon()
else:
+ self.set_sensitive(False)
self._show_no_icon()
def _reload_session_history(self):