mirror of
https://codeberg.org/librewolf/source.git
synced 2025-01-03 03:10:07 -05:00
Merge branch 'main' of gitlab.com:librewolf-community/browser/source
This commit is contained in:
commit
347dca2170
5 changed files with 85 additions and 120 deletions
|
@ -76,42 +76,6 @@
|
||||||
|
|
||||||
await document.l10n.translateElements([versionField]);
|
await document.l10n.translateElements([versionField]);
|
||||||
|
|
||||||
// Show a release notes link if we have a URL.
|
|
||||||
let relNotesLink = document.getElementById("releasenotes");
|
|
||||||
let relNotesPrefType = Services.prefs.getPrefType(
|
|
||||||
"app.releaseNotesURL.aboutDialog"
|
|
||||||
);
|
|
||||||
if (relNotesPrefType != Services.prefs.PREF_INVALID) {
|
|
||||||
let relNotesURL = Services.urlFormatter.formatURLPref(
|
|
||||||
"app.releaseNotesURL.aboutDialog"
|
|
||||||
);
|
|
||||||
if (relNotesURL != "about:blank") {
|
|
||||||
relNotesLink.href = relNotesURL;
|
|
||||||
relNotesLink.hidden = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (AppConstants.MOZ_UPDATER) {
|
|
||||||
gAppUpdater = new appUpdater({ buttonAutoFocus: true });
|
|
||||||
|
|
||||||
let channelLabel = document.getElementById("currentChannel");
|
|
||||||
let currentChannelText = document.getElementById("currentChannelText");
|
|
||||||
channelLabel.value = UpdateUtils.UpdateChannel;
|
|
||||||
let hasWinPackageId = false;
|
|
||||||
try {
|
|
||||||
hasWinPackageId = Services.sysinfo.getProperty("hasWinPackageId");
|
|
||||||
} catch (_ex) {
|
|
||||||
// The hasWinPackageId property doesn't exist; assume it should be false.
|
|
||||||
}
|
|
||||||
if (/^release($|\-)/.test(channelLabel.value) || hasWinPackageId) {
|
|
||||||
currentChannelText.hidden = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (AppConstants.IS_ESR) {
|
|
||||||
document.getElementById("release").hidden = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
window.sizeToContent();
|
window.sizeToContent();
|
||||||
|
|
||||||
if (AppConstants.platform == "macosx") {
|
if (AppConstants.platform == "macosx") {
|
||||||
|
@ -121,4 +85,3 @@
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
|
|
||||||
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
|
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
|
||||||
<?xml-stylesheet href="chrome://browser/content/aboutDialog.css" type="text/css"?>
|
<?xml-stylesheet href="chrome://browser/content/aboutDialog.css" type="text/css"?>
|
||||||
<?xml-stylesheet href="chrome://branding/content/aboutDialog.css" type="text/css"?>
|
|
||||||
|
|
||||||
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
<window xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
|
|
|
@ -12,3 +12,5 @@ browser.jar:
|
||||||
content/branding/logo.svg
|
content/branding/logo.svg
|
||||||
content/branding/identity-icons-brand.svg
|
content/branding/identity-icons-brand.svg
|
||||||
content/branding/horizontal-lockup.svg
|
content/branding/horizontal-lockup.svg
|
||||||
|
content/branding/about-logo.png (../empty.png)
|
||||||
|
content/branding/firefox-wordmark.svg (../empty.svg)
|
||||||
|
|
BIN
themes/browser/branding/librewolf/empty.png
Normal file
BIN
themes/browser/branding/librewolf/empty.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 563 B |
1
themes/browser/branding/librewolf/empty.svg
Normal file
1
themes/browser/branding/librewolf/empty.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg version="1.1" viewBox="0 0 1 1" xmlns="http://www.w3.org/2000/svg"></svg>
|
After Width: | Height: | Size: 79 B |
Loading…
Reference in a new issue