summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux
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/patches/progress-linux
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 '')
-rw-r--r--debian/patches/progress-linux/0001-summary-name.patch20
1 files changed, 20 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. */