summarylogtreecommitdiffstats
path: root/0001-Use-remoting-name-for-GDK-application-names.patch
diff options
context:
space:
mode:
authorBjörn Bidar2020-09-25 22:12:13 +0300
committerBjörn Bidar2020-09-26 13:12:41 +0300
commit2688c941143d0af96cb8cb3bab99429a663e48b9 (patch)
tree25562ff8d989231f7b34fdd7ca1ce6e661ef9b2e /0001-Use-remoting-name-for-GDK-application-names.patch
parentd7243ec77fafbfcb532f8208b7645d8f148b5364 (diff)
downloadaur-2688c941143d0af96cb8cb3bab99429a663e48b9.tar.gz
Upkg
- New upstream release - Update unity-menubar patch from Ubuntu - Drop patch to fix MOZILLA#1661096 as its commited upstream - Add patch to revert MOZILLA#1644409 to fix builds with GCC - Add patches to fix MOZILLA#1660901 to support fstat-like subset of fstatat in sandbox and thous prevent spam with recent glib versions. - Rebase patch reenable system sqlite support - Rebase system av1 support - Force mach build system to use system python
Diffstat (limited to '0001-Use-remoting-name-for-GDK-application-names.patch')
-rw-r--r--0001-Use-remoting-name-for-GDK-application-names.patch32
1 files changed, 20 insertions, 12 deletions
diff --git a/0001-Use-remoting-name-for-GDK-application-names.patch b/0001-Use-remoting-name-for-GDK-application-names.patch
index c58bc5accec0..b1dcee50ffad 100644
--- a/0001-Use-remoting-name-for-GDK-application-names.patch
+++ b/0001-Use-remoting-name-for-GDK-application-names.patch
@@ -1,15 +1,18 @@
-# HG changeset patch
-# User Andrew Crerar <andrew@crerar.io>
-# Date 1588883129 14400
-# Thu May 07 16:25:29 2020 -0400
-# Node ID 9970281ae22ce7cad35870ef91d27149ec7e9879
-# Parent c9a2a8be0647d05e5f354794c3e7b7298cdbe26f
-Use remoting name for GDK application names
+From 0000000000000000000000000000000000000000 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 | 11 ++++-------
+ 2 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
+index 49e2c73986ab..43ebcac381c7 100644
--- a/toolkit/xre/nsAppRunner.cpp
+++ b/toolkit/xre/nsAppRunner.cpp
-@@ -3703,11 +3703,7 @@
+@@ -3822,11 +3822,7 @@ int XREMain::XRE_mainStartup(bool* aExitFlag) {
// consistently.
// Set program name to the one defined in application.ini.
@@ -23,6 +26,7 @@ diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp
// Initialize GTK here for splash.
diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp
+index cfe022e65d82..06325264dbb1 100644
--- a/widget/gtk/nsAppShell.cpp
+++ b/widget/gtk/nsAppShell.cpp
@@ -24,6 +24,7 @@
@@ -33,14 +37,18 @@ diff --git a/widget/gtk/nsAppShell.cpp b/widget/gtk/nsAppShell.cpp
#include "ScreenHelperGTK.h"
#include "HeadlessScreenHelper.h"
#include "mozilla/widget/ScreenManager.h"
-@@ -178,10 +179,8 @@
- // 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.)
+@@ -159,13 +160,9 @@ nsresult nsAppShell::Init() {
+ // See https://bugzilla.gnome.org/show_bug.cgi?id=747634
+ //
+ // Only bother doing this for the parent process, since it's the one
+- // 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());
++ // creating top-level windows.
+ if (gAppData) {
+ gdk_set_program_class(gAppData->remotingName);
}