From f6ad2f98df865b359b83d533a9785537c6cb8cbb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:47:48 +0200 Subject: Setting distribution name to Linux on summary page. Signed-off-by: Daniel Baumann --- .../patches/progress-linux/0001-summary-name.patch | 20 ++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 21 insertions(+) create mode 100644 debian/patches/progress-linux/0001-summary-name.patch (limited to 'debian/patches') diff --git a/debian/patches/progress-linux/0001-summary-name.patch b/debian/patches/progress-linux/0001-summary-name.patch new file mode 100644 index 0000000..c8479e9 --- /dev/null +++ b/debian/patches/progress-linux/0001-summary-name.patch @@ -0,0 +1,20 @@ +Author: Daniel Baumann +Description: Setting distribution name to Linux on summary page. + +diff -Naurp gnome-initial-setup.orig/gnome-initial-setup/pages/summary/gis-summary-page.c gnome-initial-setup/gnome-initial-setup/pages/summary/gis-summary-page.c +--- gnome-initial-setup.orig/gnome-initial-setup/pages/summary/gis-summary-page.c ++++ gnome-initial-setup/gnome-initial-setup/pages/summary/gis-summary-page.c +@@ -220,12 +220,9 @@ static void + update_distro_name (GisSummaryPage *page) + { + GisSummaryPagePrivate *priv = gis_summary_page_get_instance_private (page); +- g_autofree char *name = g_get_os_info (G_OS_INFO_KEY_NAME); ++ g_autofree char *name = g_strdup ("Linux"); + char *text; + +- if (!name) +- name = g_strdup ("GNOME"); +- + /* Translators: the parameter here is the name of a distribution, + * like "Fedora" or "Ubuntu". It falls back to "GNOME" if we can't + * detect any distribution. */ diff --git a/debian/patches/series b/debian/patches/series index 5af2d46..890d62b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ driver-Set-a-non-trivial-window-title.patch reenable-existing-user-mode.patch Update-for-removal-of-WebKitGTK-sandbox-API.patch privacy-Move-subtitles-to-separate-labels.patch +progress-linux/0001-summary-name.patch -- cgit v1.2.3