GcalYearView implementation of GcalView::create_event_on_current_unit.

Added code to connect the event from GcalToolbar in GcalWindow.
This commit is contained in:
Erick Pérez Castellanos
2012-12-01 15:29:02 -05:00
committed by Rene A. Viant Moran
parent c72b37433c
commit 8a5d1ba4fb
2 changed files with 53 additions and 6 deletions
+4 -2
View File
@@ -799,8 +799,10 @@ static void
gcal_window_add_event (GcalToolbar *toolbar_actor,
gpointer user_data)
{
g_debug ("Create new-event here");
/* FIXME: bring new-event-overlay up front on the actual unit */
GcalWindowPrivate *priv;
priv = GCAL_WINDOW (user_data)->priv;
gcal_view_create_event_on_current_unit (GCAL_VIEW (priv->views[priv->active_view]));
}
static void