From 4e34738cbb14432d42edf19c613a06ab07485734 Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Tue, 12 Mar 2019 13:41:51 +0100 Subject: [PATCH 1/5] applications: Add shadow to application icons The new GNOME application icons need a shadow when placed on top of a light background. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2 --- panels/applications/cc-applications-row.ui | 1 + 1 file changed, 1 insertion(+) diff --git a/panels/applications/cc-applications-row.ui b/panels/applications/cc-applications-row.ui index fb483a1b9b..089cea6eec 100644 --- a/panels/applications/cc-applications-row.ui +++ b/panels/applications/cc-applications-row.ui @@ -14,6 +14,7 @@ 16 -- GitLab From 46ad6968901a51954ce720d56f8c3b1fcb8d028c Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Tue, 12 Mar 2019 13:44:54 +0100 Subject: [PATCH 2/5] search: Add shadow to application icons The new GNOME application icons need a shadow when placed on top of a light background. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2 --- panels/search/cc-search-panel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/panels/search/cc-search-panel.c b/panels/search/cc-search-panel.c index 9f0ae85105..9d29750522 100644 --- a/panels/search/cc-search-panel.c +++ b/panels/search/cc-search-panel.c @@ -457,6 +457,7 @@ search_panel_add_one_app_info (CcSearchPanel *self, g_object_ref (icon); w = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_DND); + gtk_style_context_add_class (gtk_widget_get_style_context (w), "lowres-icon"); gtk_widget_show (w); gtk_icon_size_lookup (GTK_ICON_SIZE_DND, &width, &height); gtk_image_set_pixel_size (GTK_IMAGE (w), MAX (width, height)); -- GitLab From 7e17e308af269eff0cde246619ebb8e21b00e45b Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Tue, 12 Mar 2019 13:47:01 +0100 Subject: [PATCH 3/5] notifications: Add shadow to application icons The new GNOME application icons need a shadow when placed on top of a light background. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2 --- panels/notifications/cc-notifications-panel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/panels/notifications/cc-notifications-panel.c b/panels/notifications/cc-notifications-panel.c index 8a30986d2a..da38f6a543 100644 --- a/panels/notifications/cc-notifications-panel.c +++ b/panels/notifications/cc-notifications-panel.c @@ -316,6 +316,7 @@ add_application (CcNotificationsPanel *panel, gtk_container_add (GTK_CONTAINER (row), box); w = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_DIALOG); + gtk_style_context_add_class (gtk_widget_get_style_context (w), "lowres-icon"); gtk_widget_show (w); gtk_icon_size_lookup (GTK_ICON_SIZE_DND, &size, NULL); gtk_image_set_pixel_size (GTK_IMAGE (w), size); -- GitLab From de769bbe9b7e1c2fc0077dc701c1f5c4d76a7300 Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Tue, 12 Mar 2019 13:53:46 +0100 Subject: [PATCH 4/5] sound: Add shadow to application icons The new GNOME application icons need a shadow when placed on top of a light background. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2 --- panels/sound/cc-stream-row.ui | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panels/sound/cc-stream-row.ui b/panels/sound/cc-stream-row.ui index 8930f4fdaa..782956a8b8 100644 --- a/panels/sound/cc-stream-row.ui +++ b/panels/sound/cc-stream-row.ui @@ -14,6 +14,9 @@ True + -- GitLab From ef73a423d78aca5e78147c331467a882f542abd5 Mon Sep 17 00:00:00 2001 From: Felipe Borges Date: Tue, 12 Mar 2019 13:54:26 +0100 Subject: [PATCH 5/5] online-accounts: Add shadow to providers icon The new icons are flat and are more legible with a shadow, just like the new GNOME application icons. See https://gitlab.gnome.org/GNOME/Initiatives/issues/2 --- panels/online-accounts/cc-online-accounts-panel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/panels/online-accounts/cc-online-accounts-panel.c b/panels/online-accounts/cc-online-accounts-panel.c index edf428dc7c..6503c6633e 100644 --- a/panels/online-accounts/cc-online-accounts-panel.c +++ b/panels/online-accounts/cc-online-accounts-panel.c @@ -157,6 +157,7 @@ add_provider_row (CcGoaPanel *self, } image = gtk_image_new_from_gicon (icon, GTK_ICON_SIZE_DIALOG); + gtk_style_context_add_class (gtk_widget_get_style_context (image), "lowres-icon"); gtk_widget_show (image); gtk_container_add (GTK_CONTAINER (row_grid), image); g_object_set (image, "margin", 6, NULL); -- GitLab