[gnome-calendar] quick-add-popover: add "calendar-color-image" css class in rows



commit 243c8b75da2d1bc2a064a48fe169b0282fdb8f2b
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jul 8 16:42:23 2016 -0300

    quick-add-popover: add "calendar-color-image" css class in rows

 src/gcal-quick-add-popover.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-quick-add-popover.c b/src/gcal-quick-add-popover.c
index 3296ed9..7855330 100644
--- a/src/gcal-quick-add-popover.c
+++ b/src/gcal-quick-add-popover.c
@@ -88,6 +88,8 @@ create_row_for_source (GcalManager *manager,
 
   gtk_container_add (GTK_CONTAINER (box), icon);
 
+  gtk_style_context_add_class (gtk_widget_get_style_context (icon), "calendar-color-image");
+
   /* Source name label */
   label = gtk_label_new (e_source_get_display_name (source));
   gtk_widget_set_margin_end (label, 12);


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