[Pkg-mozext-commits] [requestpolicy] 17/80: rename the `requestpolicyPermissive` attribute

David Prévot taffit at moszumanska.debian.org
Sun Jul 5 15:02:24 UTC 2015


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

taffit pushed a commit to branch master
in repository requestpolicy.

commit 8dc192231e4810b8598df85963879b5df056ad2f
Author: Martin Kimmerle <dev at 256k.de>
Date:   Tue May 12 01:47:02 2015 +0200

    rename the `requestpolicyPermissive` attribute
    
    old: `requestpolicyPermissive`
    new: `rpcontinuedPermissive`
---
 src/content/ui/overlay.js            |  2 +-
 src/skin/toolbarbutton-seamonkey.css |  4 ++--
 src/skin/toolbarbutton.css           | 10 +++++-----
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/content/ui/overlay.js b/src/content/ui/overlay.js
index cfcb76b..cccaf0a 100644
--- a/src/content/ui/overlay.js
+++ b/src/content/ui/overlay.js
@@ -635,7 +635,7 @@ requestpolicy.overlay = (function() {
     var button = $id(toolbarButtonId);
     if (button) {
       let isPermissive = Prefs.isBlockingDisabled();
-      button.setAttribute("requestpolicyPermissive", isPermissive);
+      button.setAttribute("rpcontinuedPermissive", isPermissive);
     }
   }
   /**
diff --git a/src/skin/toolbarbutton-seamonkey.css b/src/skin/toolbarbutton-seamonkey.css
index 5f01358..0561429 100644
--- a/src/skin/toolbarbutton-seamonkey.css
+++ b/src/skin/toolbarbutton-seamonkey.css
@@ -54,11 +54,11 @@ toolbar[iconsize="small"] > toolbarpaletteitem #rpcontinuedToolbarButton {
  * ==> yellow flag.
  */
 
-toolbar #rpcontinuedToolbarButton[requestpolicyPermissive="true"] {
+toolbar #rpcontinuedToolbarButton[rpcontinuedPermissive="true"] {
   list-style-image:
     url(chrome://rpcontinued/skin/requestpolicy-icon-32-disabled.png);
 }
-toolbar[iconsize="small"] #rpcontinuedToolbarButton[requestpolicyPermissive="true"] {
+toolbar[iconsize="small"] #rpcontinuedToolbarButton[rpcontinuedPermissive="true"] {
   list-style-image:
     url(chrome://rpcontinued/skin/requestpolicy-icon-disabled.png);
 }
diff --git a/src/skin/toolbarbutton.css b/src/skin/toolbarbutton.css
index df25def..f2f1a13 100644
--- a/src/skin/toolbarbutton.css
+++ b/src/skin/toolbarbutton.css
@@ -14,7 +14,7 @@
   color: #a00;
 }
 
-#requestpolicyContextMenu[requestpolicyPermissive="true"] {
+#requestpolicyContextMenu[rpcontinuedPermissive="true"] {
   list-style-image:
     url(chrome://rpcontinued/skin/requestpolicy-icon-disabled.png);
   color: #d07100;
@@ -145,20 +145,20 @@ toolbarpaletteitem[place="panel"] #rpcontinuedToolbarButton {
  */
 
 /*** Australis only: (the new menu) ***/
-#rpcontinuedToolbarButton[cui-areatype="menu-panel"][requestpolicyPermissive="true"] {
+#rpcontinuedToolbarButton[cui-areatype="menu-panel"][rpcontinuedPermissive="true"] {
   list-style-image:
     url(chrome://rpcontinued/skin/requestpolicy-icon-32-disabled.png);
 }
 /*** non-Australis only ***/
-toolbar[iconsize="large"] #rpcontinuedToolbarButton[requestpolicyPermissive="true"] {
+toolbar[iconsize="large"] #rpcontinuedToolbarButton[rpcontinuedPermissive="true"] {
   list-style-image:
     url(chrome://rpcontinued/skin/requestpolicy-icon-24-disabled.png);
 }
 /*** "normal" toolbars (16px icons) ***/
 /** Australis: **/
-#rpcontinuedToolbarButton[cui-areatype="toolbar"][requestpolicyPermissive="true"],
+#rpcontinuedToolbarButton[cui-areatype="toolbar"][rpcontinuedPermissive="true"],
 /** non-Australis: **/
-toolbar[iconsize="small"] #rpcontinuedToolbarButton[requestpolicyPermissive="true"] {
+toolbar[iconsize="small"] #rpcontinuedToolbarButton[rpcontinuedPermissive="true"] {
   list-style-image:
     url(chrome://rpcontinued/skin/requestpolicy-icon-disabled.png);
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git



More information about the Pkg-mozext-commits mailing list