summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian-hacks/Set-program-name-from-the-remoting-name.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:33:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:33:31 +0000
commita820a96849e295d4abc6238a01c650bf3663b774 (patch)
treebcebc68af266bfcc779f699ad3d5eeb05b067216 /debian/patches/debian-hacks/Set-program-name-from-the-remoting-name.patch
parentAdding upstream version 1:115.7.0. (diff)
downloadthunderbird-a820a96849e295d4abc6238a01c650bf3663b774.tar.xz
thunderbird-a820a96849e295d4abc6238a01c650bf3663b774.zip
Adding debian version 1:115.7.0-1~deb12u1.debian/1%115.7.0-1_deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/debian-hacks/Set-program-name-from-the-remoting-name.patch')
-rw-r--r--debian/patches/debian-hacks/Set-program-name-from-the-remoting-name.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/debian-hacks/Set-program-name-from-the-remoting-name.patch b/debian/patches/debian-hacks/Set-program-name-from-the-remoting-name.patch
new file mode 100644
index 0000000000..baba5fced8
--- /dev/null
+++ b/debian/patches/debian-hacks/Set-program-name-from-the-remoting-name.patch
@@ -0,0 +1,26 @@
+From: Mike Hommey <mh@glandium.org>
+Date: Sun, 5 Feb 2017 08:41:22 +0900
+Subject: Set program name from the remoting name
+
+---
+ toolkit/xre/nsAppRunner.cpp | 7 +++++--
+ 1 file changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
+index 14b8c98..961918d 100644
+--- a/toolkit/xre/nsAppRunner.cpp
++++ b/toolkit/xre/nsAppRunner.cpp
+@@ -4624,8 +4624,11 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) {
+ // consistently.
+
+ // Set program name to the one defined in application.ini.
+- g_set_prgname(gAppData->remotingName);
+-
++ {
++ nsAutoCString program(gAppData->remotingName);
++ ToLowerCase(program);
++ g_set_prgname(program.get());
++ }
+ // Initialize GTK here for splash.
+
+ # if defined(MOZ_WIDGET_GTK) && defined(MOZ_X11)