[gnome-initial-setup: 1/2] Add welcome distro logo for openSUSE.
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-initial-setup: 1/2] Add welcome distro logo for openSUSE.
- Date: Thu, 27 Dec 2018 16:11:22 +0000 (UTC)
commit 4217f94e90a3865655bfc7cd811ded814844725d
Author: ZhaoQiang <zhaoqiang gnome org>
Date: Fri Dec 7 09:59:37 2018 +0800
Add welcome distro logo for openSUSE.
gnome-initial-setup/pages/language/gis-language-page.c | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/gnome-initial-setup/pages/language/gis-language-page.c
b/gnome-initial-setup/pages/language/gis-language-page.c
index d0f1c5d..a4afe44 100644
--- a/gnome-initial-setup/pages/language/gis-language-page.c
+++ b/gnome-initial-setup/pages/language/gis-language-page.c
@@ -243,6 +243,14 @@ update_distro_logo (GisLanguagePage *page)
{
g_object_set (priv->logo, "icon-name", "ubuntu-logo-icon", NULL);
}
+ else if ((g_strcmp0 (id, "openSUSE Tumbleweed") == 0) || (g_strcmp0 (id, "openSUSE Leap") == 0))
+ {
+ g_object_set (priv->logo, "icon-name", "opensuse-logo-icon", NULL);
+ }
+ else if ((g_strcmp0 (id, "SLED") == 0) || (g_strcmp0 (id, "SLES") == 0))
+ {
+ g_object_set (priv->logo, "icon-name", "suse-logo-icon", NULL);
+ }
g_free (id);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]