projects
/
thunderbird.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0405de
)
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>
Thu, 13 Oct 2022 14:09:50 +0000
(15:09 +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 79baf84160830c79501925c195ead6abb76eb55d..1f6bc18604cbcb1fd434f6a764a3bc15ae0036ca 100644
(file)
--- a/
toolkit/xre/nsAppRunner.cpp
+++ b/
toolkit/xre/nsAppRunner.cpp
@@
-4745,8
+4745,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)