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