mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-20 22:27:31 +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.label "Enable">
|
||||||
<!ENTITY warning.updatesecurity.enable.tooltip "Enable add-on update security checking">
|
<!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 -->
|
<!-- categories / views -->
|
||||||
<!ENTITY view.search.label "Search">
|
<!ENTITY view.search.label "Search">
|
||||||
<!ENTITY view.discover.label "Get Add-ons">
|
<!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: {
|
cmd_toggleAutoUpdateDefault: {
|
||||||
isEnabled: function cmd_toggleAutoUpdateDefault_isEnabled() true,
|
isEnabled: function cmd_toggleAutoUpdateDefault_isEnabled() true,
|
||||||
doCommand: function cmd_toggleAutoUpdateDefault_doCommand() {
|
doCommand: function cmd_toggleAutoUpdateDefault_doCommand() {
|
||||||
|
|
@ -3028,10 +3019,7 @@ var gDetailView = {
|
||||||
"details.notification.outdated",
|
"details.notification.outdated",
|
||||||
[this._addon.name], 1
|
[this._addon.name], 1
|
||||||
);
|
);
|
||||||
var warningLink = document.getElementById("detail-warning-link");
|
document.getElementById("detail-warning-link").hidden = true;
|
||||||
warningLink.value = gStrings.ext.GetStringFromName("details.notification.outdated.link");
|
|
||||||
warningLink.href = Services.urlFormatter.formatURLPref("plugins.update.url");
|
|
||||||
warningLink.hidden = false;
|
|
||||||
} else if (this._addon.blocklistState == Ci.nsIBlocklistService.STATE_VULNERABLE_UPDATE_AVAILABLE) {
|
} else if (this._addon.blocklistState == Ci.nsIBlocklistService.STATE_VULNERABLE_UPDATE_AVAILABLE) {
|
||||||
this.node.setAttribute("notification", "error");
|
this.node.setAttribute("notification", "error");
|
||||||
document.getElementById("detail-error").textContent = gStrings.ext.formatStringFromName(
|
document.getElementById("detail-error").textContent = gStrings.ext.formatStringFromName(
|
||||||
|
|
|
||||||
|
|
@ -1328,9 +1328,7 @@
|
||||||
"notification.outdated",
|
"notification.outdated",
|
||||||
[this.mAddon.name], 1
|
[this.mAddon.name], 1
|
||||||
);
|
);
|
||||||
this._warningLink.value = gStrings.ext.GetStringFromName("notification.outdated.link");
|
this._warningLink.hidden = true;
|
||||||
this._warningLink.href = Services.urlFormatter.formatURLPref("plugins.update.url");
|
|
||||||
this._warningLink.hidden = false;
|
|
||||||
this._warningBtn.hidden = true;
|
this._warningBtn.hidden = true;
|
||||||
} else if (!isUpgrade && this.mAddon.blocklistState == Ci.nsIBlocklistService.STATE_VULNERABLE_UPDATE_AVAILABLE) {
|
} else if (!isUpgrade && this.mAddon.blocklistState == Ci.nsIBlocklistService.STATE_VULNERABLE_UPDATE_AVAILABLE) {
|
||||||
this.setAttribute("notification", "error");
|
this.setAttribute("notification", "error");
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,6 @@
|
||||||
<command id="cmd_back"/>
|
<command id="cmd_back"/>
|
||||||
<command id="cmd_forward"/>
|
<command id="cmd_forward"/>
|
||||||
<command id="cmd_enableCheckCompatibility"/>
|
<command id="cmd_enableCheckCompatibility"/>
|
||||||
<!-- <command id="cmd_pluginCheck"/> -->
|
|
||||||
<command id="cmd_enableUpdateSecurity"/>
|
<command id="cmd_enableUpdateSecurity"/>
|
||||||
<command id="cmd_toggleAutoUpdateDefault"/>
|
<command id="cmd_toggleAutoUpdateDefault"/>
|
||||||
<command id="cmd_resetAddonAutoUpdate"/>
|
<command id="cmd_resetAddonAutoUpdate"/>
|
||||||
|
|
@ -355,15 +354,6 @@
|
||||||
<spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
|
<spacer flex="5000"/> <!-- Necessary to allow the message to wrap -->
|
||||||
</hbox>
|
</hbox>
|
||||||
</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="view-header global-info-container experiment-info-container">
|
||||||
<hbox class="global-info" flex="1" align="center">
|
<hbox class="global-info" flex="1" align="center">
|
||||||
<label value="&experiment.info.label;"/>
|
<label value="&experiment.info.label;"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue