[Pkg-mozext-commits] [greasemonkey] 06/26: No obvious (UI-)indicator for scripts which will not or cannot receive automatic updates

David Prévot taffit at moszumanska.debian.org
Thu Feb 25 02:27:38 UTC 2016


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

taffit pushed a commit to branch master
in repository greasemonkey.

commit 4b4dc15b327c80ff8c16cdf6cd42b4d2fe612d0e
Author: janekptacijarabaci <janekptacijarabaci at seznam.cz>
Date:   Wed Jan 20 13:50:01 2016 +0100

    No obvious (UI-)indicator for scripts which will not or cannot receive automatic updates
---
 modules/addons4.js |  1 +
 skin/addons4.css   | 12 +++++++++---
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/modules/addons4.js b/modules/addons4.js
index 63f42b0..7303b68 100755
--- a/modules/addons4.js
+++ b/modules/addons4.js
@@ -100,6 +100,7 @@ function ScriptAddon(aScript) {
   this.homepageURL = this._script.homepageURL;
   this.iconURL = this._script.icon && this._script.icon.fileURL;
   this.id = aScript.id + SCRIPT_ID_SUFFIX;
+  this.isCompatible = this._script.isRemoteUpdateAllowed(false);
   this.name = this._script.localized.name;
   this.providesUpdatesSecurely = aScript.updateIsSecure;
   this.updateDate = this._script.modifiedDate;
diff --git a/skin/addons4.css b/skin/addons4.css
index 793ea80..db22ce8 100644
--- a/skin/addons4.css
+++ b/skin/addons4.css
@@ -1,10 +1,16 @@
 #category-greasemonkey-user-script > .category-icon,
-.addon[type=greasemonkey-user-script] .icon,
-#detail-view[type=greasemonkey-user-script] #detail-icon
+.addon[type="greasemonkey-user-script"] .icon,
+#detail-view[type="greasemonkey-user-script"] #detail-icon
 {
   list-style-image: url(chrome://greasemonkey/skin/icon32.png);
 }
 
+.addon[type="greasemonkey-user-script"] .warning,
+#detail-view[type="greasemonkey-user-script"] .warning
+{
+  display: none;
+}
+
 #greasemonkey-sort-bar {
   display: none;
 }
@@ -23,7 +29,7 @@ page.greasemonkey #user-script-list-empty {
 }
 
 /* Hide the 'restart now' link for user scripts. */
-.greasemonkey #addon-list button[command=cmd_restartApp] {
+.greasemonkey #addon-list button[command="cmd_restartApp"] {
   display: none;
 }
 

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



More information about the Pkg-mozext-commits mailing list