summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:16:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 18:16:12 +0000
commit91ba3fe33a54ae03850832d695f8f7b39e9d8fb1 (patch)
tree4b2ea7da465ac46d3cecbf954cb3d1b8456000da
parentSkipping privacy pages. (diff)
downloadgnome-initial-setup-91ba3fe33a54ae03850832d695f8f7b39e9d8fb1.tar.xz
gnome-initial-setup-91ba3fe33a54ae03850832d695f8f7b39e9d8fb1.zip
Setting distribution name to Linux on summary page.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-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..59f1801
--- /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
+@@ -221,12 +221,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_get_os_info ("Linux");
+ char *text;
+
+- if (!name)
+- name = g_strdup ("GNOME 3");
+-
+ /* Translators: the parameter here is the name of a distribution,
+ * like "Fedora" or "Ubuntu". It falls back to "GNOME 3" if we can't
+ * detect any distribution. */
diff --git a/debian/patches/series b/debian/patches/series
index c5c50e6..1cbb354 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
revert_gnome_tour.patch
+progress-linux/0001-summary-name.patch