Added regions to view.

Fixed/renamed/changed some classes names for css styling.
Fixed size_allocate, now taking into account regions differents font sizes.
This commit is contained in:
Erick Pérez Castellanos
2012-07-11 10:50:28 -04:00
parent 1021c7e781
commit 55292f68ac
6 changed files with 86 additions and 37 deletions
+3 -4
View File
@@ -102,14 +102,13 @@ gcal_event_view_class_init(GcalEventViewClass *klass)
static void gcal_event_view_init(GcalEventView *self)
{
GtkStyleContext *context;
self->priv = G_TYPE_INSTANCE_GET_PRIVATE(self,
GCAL_TYPE_EVENT_VIEW,
GcalEventViewPrivate);
context = gtk_widget_get_style_context (GTK_WIDGET (self));
gtk_style_context_add_class (context, "event-view");
gtk_style_context_add_class (
gtk_widget_get_style_context (GTK_WIDGET (self)),
"event-details");
}
static void