mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1241893 - Remove non-used properties strings about about:profiles, r=ehsan
This commit is contained in:
parent
9283b7a236
commit
a8fb91b3ca
@ -51,13 +51,6 @@ function findCurrentProfile() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function initializeUI() {
|
|
||||||
document.getElementById('about-profile-action-box').style.display = 'block';
|
|
||||||
document.getElementById('profile-manager-action-box').style.display = 'none';
|
|
||||||
|
|
||||||
refreshUI();
|
|
||||||
}
|
|
||||||
|
|
||||||
function refreshUI() {
|
function refreshUI() {
|
||||||
let parent = document.getElementById('profiles');
|
let parent = document.getElementById('profiles');
|
||||||
while (parent.firstChild) {
|
while (parent.firstChild) {
|
||||||
@ -321,5 +314,5 @@ function restart(safeMode) {
|
|||||||
|
|
||||||
window.addEventListener('DOMContentLoaded', function load() {
|
window.addEventListener('DOMContentLoaded', function load() {
|
||||||
window.removeEventListener('DOMContentLoaded', load);
|
window.removeEventListener('DOMContentLoaded', load);
|
||||||
initializeUI();
|
refreshUI();
|
||||||
});
|
});
|
||||||
|
@ -21,17 +21,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body id="body">
|
<body id="body">
|
||||||
<div id="action-box">
|
<div id="action-box">
|
||||||
<div id="about-profile-action-box">
|
<h3>&aboutProfiles.restart.title;</h3>
|
||||||
<h3>&aboutProfiles.restart.title;</h3>
|
<button id="restart-in-safe-mode-button">&aboutProfiles.restart.inSafeMode;</button>
|
||||||
<button id="restart-in-safe-mode-button">&aboutProfiles.restart.inSafeMode;</button>
|
<button id="restart-button">&aboutProfiles.restart.normal;</button>
|
||||||
<button id="restart-button">&aboutProfiles.restart.normal;</button>
|
|
||||||
</div>
|
|
||||||
<div id="profile-manager-action-box">
|
|
||||||
<input type="checkbox" id="work-offline"/>
|
|
||||||
<label for="work-offline">&aboutProfiles.profileManager.workOffline;</label><br />
|
|
||||||
<input type="checkbox" id="auto-select"/>
|
|
||||||
<label for="auto-select">&aboutProfiles.profileManager.autoSelect;</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h1>&aboutProfiles.title;</h1>
|
<h1>&aboutProfiles.title;</h1>
|
||||||
|
@ -8,5 +8,3 @@
|
|||||||
<!ENTITY aboutProfiles.restart.title "Restart">
|
<!ENTITY aboutProfiles.restart.title "Restart">
|
||||||
<!ENTITY aboutProfiles.restart.inSafeMode "Restart with Add-ons Disabled…">
|
<!ENTITY aboutProfiles.restart.inSafeMode "Restart with Add-ons Disabled…">
|
||||||
<!ENTITY aboutProfiles.restart.normal "Restart normally…">
|
<!ENTITY aboutProfiles.restart.normal "Restart normally…">
|
||||||
<!ENTITY aboutProfiles.profileManager.workOffline "Work Offline">
|
|
||||||
<!ENTITY aboutProfiles.profileManager.autoSelect "Use the selected profile without asking at startup">
|
|
||||||
|
@ -66,7 +66,3 @@ td {
|
|||||||
#action-box:-moz-dir(rtl) {
|
#action-box:-moz-dir(rtl) {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
#action-box button {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user