summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:47:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 17:47:48 +0000
commitf6ad2f98df865b359b83d533a9785537c6cb8cbb (patch)
treebfa7f7421c6580c137f5e22dd10db2ff288e089d /debian
parentSkipping privacy pages. (diff)
downloadgnome-initial-setup-f6ad2f98df865b359b83d533a9785537c6cb8cbb.tar.xz
gnome-initial-setup-f6ad2f98df865b359b83d533a9785537c6cb8cbb.zip
Setting distribution name to Linux on summary page.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-rw-r--r--debian/patches/progress-linux/0001-summary-name.patch20
-rw-r--r--debian/patches/series1
2 files changed, 21 insertions, 0 deletions
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 <daniel.baumann@progress-linux.org>
+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