mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 14:28:39 +09:00
Issue #1644 - Remove plugin checking code leftovers
This commit is contained in:
parent
00eb2c7983
commit
bc02e9541f
4 changed files with 2 additions and 30 deletions
|
|
@ -40,10 +40,6 @@
|
|||
<!ENTITY warning.updatesecurity.enable.label "Enable">
|
||||
<!ENTITY warning.updatesecurity.enable.tooltip "Enable add-on update security checking">
|
||||
|
||||
<!-- global informations -->
|
||||
<!ENTITY info.plugincheck.label "Check to see if your plugins are up to date">
|
||||
<!ENTITY info.plugincheck.tooltip "Check to see if your plugins are up to date">
|
||||
|
||||
<!-- categories / views -->
|
||||
<!ENTITY view.search.label "Search">
|
||||
<!ENTITY view.discover.label "Get Add-ons">
|
||||
|
|
|
|||
|
|
@ -809,15 +809,6 @@ var gViewController = {
|
|||
}
|
||||
},
|
||||
|
||||
/* Plugincheck service is currently N/A for Pale Moon
|
||||
cmd_pluginCheck: {
|
||||
isEnabled: function cmd_pluginCheck_isEnabled() true,
|
||||
doCommand: function cmd_pluginCheck_doCommand() {
|
||||
openURL(Services.urlFormatter.formatURLPref("plugins.update.url"));
|
||||
}
|
||||
},
|
||||
*/
|
||||
|
||||
cmd_toggleAutoUpdateDefault: {
|
||||
isEnabled: function cmd_toggleAutoUpdateDefault_isEnabled() true,
|
||||
doCommand: function cmd_toggleAutoUpdateDefault_doCommand() {
|
||||
|
|
@ -3028,10 +3019,7 @@ var gDetailView = {
|
|||
"details.notification.outdated",
|
||||
[this._addon.name], 1
|
||||
);
|
||||
var warningLink = document.getElementById("detail-warning-link");
|
||||
warningLink.value = gStrings.ext.GetStringFromName("details.notification.outdated.link");
|
||||
warningLink.href = Services.urlFormatter.formatURLPref("plugins.update.url");
|
||||
warningLink.hidden = false;
|
||||
document.getElementById("detail-warning-link").hidden = true;
|
||||
} else if (this._addon.blocklistState == Ci.nsIBlocklistService.STATE_VULNERABLE_UPDATE_AVAILABLE) {
|
||||
this.node.setAttribute("notification", "error");
|
||||
document.getElementById("detail-error").textContent = gStrings.ext.formatStringFromName(
|
||||
|
|
|
|||
|
|
@ -1328,9 +1328,7 @@
|
|||
"notification.outdated",
|
||||
[this.mAddon.name], 1
|
||||
);
|
||||
this._warningLink.value = gStrings.ext.GetStringFromName("notification.outdated.link");
|
||||
this._warningLink.href = Services.urlFormatter.formatURLPref("plugins.update.url");
|
||||
this._warningLink.hidden = false;
|
||||
this._warningLink.hidden = true;
|
||||
this._warningBtn.hidden = true;
|
||||
} else if (!isUpgrade && this.mAddon.blocklistState == Ci.nsIBlocklistService.STATE_VULNERABLE_UPDATE_AVAILABLE) {
|
||||
this.setAttribute("notification", "error");
|
||||
|
|
|
|||
|
|
@ -88,7 +88,6 @@
|
|||
<command id="cmd_back"/>
|
||||
<command id="cmd_forward"/>
|
||||
<command id="cmd_enableCheckCompatibility"/>
|
||||
<!-- <command id="cmd_pluginCheck"/> -->
|
||||
<command id="cmd_enableUpdateSecurity"/>
|
||||
<command id="cmd_toggleAutoUpdateDefault"/>
|
||||
<command id="cmd_resetAddonAutoUpdate"/>
|
||||
|
|
@ -355,15 +354,6 @@
|
|||
<spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
|
||||
</hbox>
|
||||
</hbox>
|
||||
<!-- <hbox class="view-header global-info-container plugin-info-container">
|
||||
<hbox class="global-info" flex="1" align="center">
|
||||
<button class="button-link global-info-plugincheck"
|
||||
label="&info.plugincheck.label;"
|
||||
tooltiptext="&info.plugincheck.tooltip;"
|
||||
command="cmd_pluginCheck"/>
|
||||
<spacer flex="5000"/>
|
||||
</hbox>
|
||||
</hbox> -->
|
||||
<hbox class="view-header global-info-container experiment-info-container">
|
||||
<hbox class="global-info" flex="1" align="center">
|
||||
<label value="&experiment.info.label;"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue