Initial commit of custom build of Firefox
(cherry picked from commit 7247553575)
This commit is contained in:
parent
78d3f64103
commit
09a4a06fc0
63 changed files with 8307 additions and 0 deletions
17
my-ostree-os/firefox/fedora-customization.patch
Normal file
17
my-ostree-os/firefox/fedora-customization.patch
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
diff -up firefox-124.0/toolkit/xre/nsAppRunner.cpp.fedora-customization firefox-124.0/toolkit/xre/nsAppRunner.cpp
|
||||
diff -up firefox-124.0/widget/gtk/nsWindow.cpp.fedora-customization firefox-124.0/widget/gtk/nsWindow.cpp
|
||||
--- firefox-124.0/widget/gtk/nsWindow.cpp.fedora-customization 2024-03-13 12:35:57.098591719 +0100
|
||||
+++ firefox-124.0/widget/gtk/nsWindow.cpp 2024-03-13 12:43:17.375928494 +0100
|
||||
@@ -3459,6 +3459,12 @@ nsresult nsWindow::SetTitle(const nsAStr
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
+ const char* appTitle = getenv("MOZ_APP_TITLE");
|
||||
+ if (appTitle) {
|
||||
+ gtk_window_set_title(GTK_WINDOW(mShell), appTitle);
|
||||
+ return NS_OK;
|
||||
+ }
|
||||
+
|
||||
// convert the string into utf8 and set the title.
|
||||
#define UTF8_FOLLOWBYTE(ch) (((ch) & 0xC0) == 0x80)
|
||||
NS_ConvertUTF16toUTF8 titleUTF8(aTitle);
|
||||
Loading…
Add table
Add a link
Reference in a new issue