2024-03-13 11:54:43 +00:00
|
|
|
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;
|
2023-08-16 09:02:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
+ const char* appTitle = getenv("MOZ_APP_TITLE");
|
|
|
|
+ if (appTitle) {
|
|
|
|
+ gtk_window_set_title(GTK_WINDOW(mShell), appTitle);
|
|
|
|
+ return NS_OK;
|
|
|
|
+ }
|
2024-03-13 11:54:43 +00:00
|
|
|
+
|
|
|
|
// convert the string into utf8 and set the title.
|
2023-11-14 09:59:36 +00:00
|
|
|
#define UTF8_FOLLOWBYTE(ch) (((ch) & 0xC0) == 0x80)
|
2023-08-16 09:02:52 +00:00
|
|
|
NS_ConvertUTF16toUTF8 titleUTF8(aTitle);
|