summarylogtreecommitdiffstats
path: root/0001-Use-remoting-name-for-GDK-application-names.patch
diff options
context:
space:
mode:
authorAnthony Ruhier2020-05-06 09:47:12 +0000
committerAnthony Ruhier2020-05-06 09:49:53 +0000
commit9adfda5ebff5e618c27bd964281af9c4936d9c1d (patch)
tree7372551f87d4bcdc3c724516c588643a2ce2149a /0001-Use-remoting-name-for-GDK-application-names.patch
parent217a393c52fe23645f95c569f861e1c64fd5c92d (diff)
downloadaur-9adfda5ebff5e618c27bd964281af9c4936d9c1d.tar.gz
77b2 update
Remove the GDK application names patch, as on beta, everything is named "Firefox" anyway.
Diffstat (limited to '0001-Use-remoting-name-for-GDK-application-names.patch')
-rw-r--r--0001-Use-remoting-name-for-GDK-application-names.patch56
1 files changed, 0 insertions, 56 deletions
diff --git a/0001-Use-remoting-name-for-GDK-application-names.patch b/0001-Use-remoting-name-for-GDK-application-names.patch
deleted file mode 100644
index ceac9da65b4..00000000000
--- a/0001-Use-remoting-name-for-GDK-application-names.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 83f234464554c7f4393cd1dbdeb3a68d3ae0ccae Mon Sep 17 00:00:00 2001
-From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
-Date: Mon, 25 Mar 2019 20:30:11 +0100
-Subject: [PATCH] Use remoting name for GDK application names
-
----
- toolkit/xre/nsAppRunner.cpp | 6 +-----
- widget/gtk/nsAppShell.cpp | 7 +++----
- 2 files changed, 4 insertions(+), 9 deletions(-)
-
-diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
-index 0828400952..f5b941a37d 100644
---- a/toolkit/xre/nsAppRunner.cpp
-+++ b/toolkit/xre/nsAppRunner.cpp
-@@ -3703,11 +3703,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) {
- // consistently.
-
- // Set program name to the one defined in application.ini.
-- {
-- nsAutoCString program(gAppData->name);
-- ToLowerCase(program);
-- g_set_prgname(program.get());
-- }
-+ g_set_prgname(gAppData->remotingName);
-
- // Initialize GTK here for splash.
-
-diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp
-index 163a93e2d1..0435506029 100644
---- a/widget/gtk/nsAppShell.cpp
-+++ b/widget/gtk/nsAppShell.cpp
-@@ -24,6 +24,7 @@
- # include "WakeLockListener.h"
- #endif
- #include "gfxPlatform.h"
-+#include "nsAppRunner.h"
- #include "ScreenHelperGTK.h"
- #include "HeadlessScreenHelper.h"
- #include "mozilla/widget/ScreenManager.h"
-@@ -178,10 +179,8 @@ nsresult nsAppShell::Init() {
- // creating top-level windows. (At this point, a child process hasn't
- // received the list of registered chrome packages, so the
- // GetBrandShortName call would fail anyway.)
-- nsAutoString brandName;
-- mozilla::widget::WidgetUtils::GetBrandShortName(brandName);
-- if (!brandName.IsEmpty()) {
-- gdk_set_program_class(NS_ConvertUTF16toUTF8(brandName).get());
-+ if (gAppData) {
-+ gdk_set_program_class(gAppData->remotingName);
- }
- }
- }
-
---
-2.24.0
-