summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0001-summary-name.patch
blob: 59f1801958e03f8d13c10fddec6b525dc4cf8bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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. */