projects
/
thunderbird.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d6f610
)
Set program name from the remoting name
author
Mike Hommey
<mh@glandium.org>
Sat, 4 Feb 2017 23:41:22 +0000
(08:41 +0900)
committer
Carsten Schoenert
<c.schoenert@t-online.de>
Wed, 21 Feb 2024 16:18:14 +0000
(17:18 +0100)
Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name Set-program-name-from-the-remoting-name.patch
toolkit/xre/nsAppRunner.cpp
patch
|
blob
|
history
diff --git
a/toolkit/xre/nsAppRunner.cpp
b/toolkit/xre/nsAppRunner.cpp
index 14b8c98dc892518128bf2abcc5bc3dde39c1b9fe..961918d4620efdfc60670287718016dfcbcd24d2 100644
(file)
--- 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)