morgan pushed to branch tor-browser-128.3.0esr-14.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
d586e4a6
by Pier Angelo Vendrame at 2024-10-08T20:09:43+00:00
1 changed file:
Changes:
... | ... | @@ -414,8 +414,10 @@ void MPRISServiceHandler::InitIdentity() { |
414 | 414 | do_GetService("@mozilla.org/xre/app-info;1", &rv);
|
415 | 415 | MOZ_ASSERT(NS_SUCCEEDED(rv));
|
416 | 416 | |
417 | +#ifndef BASE_BROWSER_VERSION
|
|
417 | 418 | rv = appInfo->GetVendor(mIdentity);
|
418 | 419 | MOZ_ASSERT(NS_SUCCEEDED(rv));
|
420 | +#endif
|
|
419 | 421 | |
420 | 422 | if (gAppData) {
|
421 | 423 | mDesktopEntry = gAppData->remotingName;
|
... | ... | @@ -424,7 +426,9 @@ void MPRISServiceHandler::InitIdentity() { |
424 | 426 | MOZ_ASSERT(NS_SUCCEEDED(rv));
|
425 | 427 | }
|
426 | 428 | |
429 | +#ifndef BASE_BROWSER_VERSION
|
|
427 | 430 | mIdentity.Append(' ');
|
431 | +#endif
|
|
428 | 432 | mIdentity.Append(mDesktopEntry);
|
429 | 433 | |
430 | 434 | // Compute the desktop entry name like nsAppRunner does for g_set_prgname
|