[gnome-control-center/add-shadow-to-icons: 5/5] online-accounts: Add shadow to providers icon



commit ef73a423d78aca5e78147c331467a882f542abd5
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..6503c6633 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]