Blame SOURCES/quacks-like-fedora.patch
|
|
599f22 |
diff -up gnome-initial-setup-3.28.0/gnome-initial-setup/pages/language/gis-language-page.c.quacks_like_fedora gnome-initial-setup-3.28.0/gnome-initial-setup/pages/language/gis-language-page.c
|
|
|
599f22 |
--- gnome-initial-setup-3.28.0/gnome-initial-setup/pages/language/gis-language-page.c.quacks_like_fedora 2019-02-18 11:06:22.404874101 -0500
|
|
|
599f22 |
+++ gnome-initial-setup-3.28.0/gnome-initial-setup/pages/language/gis-language-page.c 2019-02-18 13:29:59.069513421 -0500
|
|
|
599f22 |
@@ -227,11 +227,18 @@ update_distro_logo (GisLanguagePage *pag
|
|
|
599f22 |
|
|
|
599f22 |
if (g_file_get_contents ("/etc/os-release", &buffer, NULL, NULL))
|
|
|
599f22 |
{
|
|
|
599f22 |
- id = get_item (buffer, "ID");
|
|
|
599f22 |
+ id = get_item (buffer, "ID_LIKE");
|
|
|
599f22 |
+
|
|
|
599f22 |
+ if (id == NULL)
|
|
|
599f22 |
+ id = get_item (buffer, "ID");
|
|
|
599f22 |
+
|
|
|
599f22 |
g_free (buffer);
|
|
|
599f22 |
}
|
|
|
599f22 |
|
|
|
599f22 |
- if (g_strcmp0 (id, "fedora") == 0)
|
|
|
599f22 |
+ if (id != NULL &&
|
|
|
599f22 |
+ (strcmp (id, "fedora") == 0 ||
|
|
|
599f22 |
+ strstr (id, " fedora") != NULL ||
|
|
|
599f22 |
+ strstr (id, "fedora ") != NULL))
|
|
|
599f22 |
{
|
|
|
599f22 |
g_object_set (priv->logo, "icon-name", "fedora-logo-icon", NULL);
|
|
|
599f22 |
}
|