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
5c91f8307d
commit
8dc653160a
@ -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() {
|
||||
let parent = document.getElementById('profiles');
|
||||
while (parent.firstChild) {
|
||||
@ -321,5 +314,5 @@ function restart(safeMode) {
|
||||
|
||||
window.addEventListener('DOMContentLoaded', function load() {
|
||||
window.removeEventListener('DOMContentLoaded', load);
|
||||
initializeUI();
|
||||
refreshUI();
|
||||
});
|
||||
|
@ -21,18 +21,10 @@
|
||||
</head>
|
||||
<body id="body">
|
||||
<div id="action-box">
|
||||
<div id="about-profile-action-box">
|
||||
<h3>&aboutProfiles.restart.title;</h3>
|
||||
<button id="restart-in-safe-mode-button">&aboutProfiles.restart.inSafeMode;</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>
|
||||
|
||||
<h1>&aboutProfiles.title;</h1>
|
||||
<div class="page-subtitle">&aboutProfiles.subtitle;</div>
|
||||
|
@ -8,5 +8,3 @@
|
||||
<!ENTITY aboutProfiles.restart.title "Restart">
|
||||
<!ENTITY aboutProfiles.restart.inSafeMode "Restart with Add-ons Disabled…">
|
||||
<!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) {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#action-box button {
|
||||
display: block;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user