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
-5
View File
@@ -225,9 +225,6 @@ gcal_window_constructed (GObject *object)
priv->views[GCAL_VIEW_TYPE_MONTHLY] = gcal_month_view_new (date);
g_free (date);
context = gtk_widget_get_style_context (priv->views[GCAL_VIEW_TYPE_MONTHLY]);
gtk_style_context_add_class (context, "views");
gtk_widget_show (priv->views[GCAL_VIEW_TYPE_MONTHLY]);
gtk_notebook_append_page (GTK_NOTEBOOK (priv->notebook),
priv->views[GCAL_VIEW_TYPE_MONTHLY],
@@ -617,8 +614,6 @@ gcal_window_events_added (GcalManager *manager,
gtk_container_add (
GTK_CONTAINER (priv->views[priv->active_view]),
event);
gtk_style_context_add_class (gtk_widget_get_style_context (event),
"event");
g_signal_connect (event,
"activated",