[Pkg-sugar-commit] [sugar-browse-activity] 14/16: Pdf tabs: make URL entry insensitive - SL #3741

Jonas Smedegaard dr at jones.dk
Mon Apr 20 09:47:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to tag v149.2
in repository sugar-browse-activity.

commit 8c35a784e15c7c093e65fba4d90774a9db9ba9ac
Author: Manuel Quiñones <manuq at laptop.org>
Date:   Thu Apr 11 14:56:22 2013 -0300

    Pdf tabs: make URL entry insensitive - SL #3741
    
    Otherwise the URL looks like it could be edited.
    
    Signed-off-by: Manuel Quiñones <manuq at laptop.org>
---
 webtoolbar.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/webtoolbar.py b/webtoolbar.py
index dd8fc81..a35f407 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):

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-sugar/sugar-browse-activity.git



More information about the pkg-sugar-commit mailing list