mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 830418 - hide health report menu items if health report is disabled, r=rnewman
This commit is contained in:
parent
60850c7c23
commit
17b82197ea
@ -52,11 +52,13 @@
|
||||
#else
|
||||
/>
|
||||
#endif
|
||||
#ifdef MOZ_SERVICES_HEALTHREPORT
|
||||
<menuitem id="healthReport"
|
||||
label="&healthReport.label;"
|
||||
accesskey="&healthReport.accesskey;"
|
||||
oncommand="openHealthReport()"
|
||||
onclick="checkForMiddleClick(this, event);"/>
|
||||
#endif
|
||||
<menuitem id="troubleShooting"
|
||||
accesskey="&helpTroubleshootingInfo.accesskey;"
|
||||
label="&helpTroubleshootingInfo.label;"
|
||||
|
@ -378,10 +378,12 @@
|
||||
label="&appMenuGettingStarted.label;"
|
||||
oncommand="gBrowser.loadOneTab('http://www.mozilla.com/firefox/central/', {inBackground: false});"
|
||||
onclick="checkForMiddleClick(this, event);"/>
|
||||
#ifdef MOZ_SERVICES_HEALTHREPORT
|
||||
<menuitem id="appmenu_healthReport"
|
||||
label="&healthReport.label;"
|
||||
oncommand="openHealthReport()"
|
||||
onclick="checkForMiddleClick(this, event);"/>
|
||||
#endif
|
||||
<menuitem id="appmenu_troubleshootingInfo"
|
||||
label="&helpTroubleshootingInfo.label;"
|
||||
oncommand="openTroubleshootingPage()"
|
||||
|
@ -529,6 +529,7 @@ function openTroubleshootingPage()
|
||||
openUILinkIn("about:support", "tab");
|
||||
}
|
||||
|
||||
#ifdef MOZ_SERVICES_HEALTHREPORT
|
||||
/**
|
||||
* Opens the troubleshooting information (about:support) page for this version
|
||||
* of the application.
|
||||
@ -537,7 +538,7 @@ function openHealthReport()
|
||||
{
|
||||
openUILinkIn("about:healthreport", "tab");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Opens the feedback page for this version of the application.
|
||||
|
Loading…
Reference in New Issue
Block a user