[gnome-calendar/ui-rewrite] dayv-view-children: added relevant CSS class



commit 514ecc1fb3ce27a8739f99b4dc4724197fbdf0f5
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Fri Jul 5 11:18:43 2013 -0400

    dayv-view-children: added relevant CSS class

 src/gcal-all-day-grid.c |    4 ++++
 src/gcal-days-grid.c    |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-all-day-grid.c b/src/gcal-all-day-grid.c
index d3e4894..6c82c21 100644
--- a/src/gcal-all-day-grid.c
+++ b/src/gcal-all-day-grid.c
@@ -171,6 +171,10 @@ gcal_all_day_grid_init (GcalAllDayGrid *self)
   priv = gcal_all_day_grid_get_instance_private (self);
   priv->column_headers = NULL;
   priv->children = NULL;
+
+  gtk_style_context_add_class (
+      gtk_widget_get_style_context (GTK_WIDGET (self)),
+      "calendar-view");
 }
 
 static void
diff --git a/src/gcal-days-grid.c b/src/gcal-days-grid.c
index bb0da40..7feaa3f 100644
--- a/src/gcal-days-grid.c
+++ b/src/gcal-days-grid.c
@@ -230,6 +230,9 @@ gcal_days_grid_init (GcalDaysGrid *self)
   priv->req_cell_height = 0;
 
   priv->children = NULL;
+  gtk_style_context_add_class (
+      gtk_widget_get_style_context (GTK_WIDGET (self)),
+      "calendar-view");
 }
 
 static void


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