[gnome-control-center/add-shadow-to-icons: 5/5] online-accounts: Add shadow to providers icon
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/add-shadow-to-icons: 5/5] online-accounts: Add shadow to providers icon
- Date: Tue, 12 Mar 2019 12:57:11 +0000 (UTC)
commit 20d15cc2df3c2aef90ac73490661ec3e405e5198
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Mar 12 13:54:26 2019 +0100
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 edf428dc7..6785db753 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), "icon-dropshadow");
gtk_widget_show (image);
gtk_container_add (GTK_CONTAINER (row_grid), image);
g_object_set (image, "margin", 6, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]