Made simple-add event work.

Fixed GcalEventOverlay handling of dates.
Added initial code and methods to handle adding events to GcalManager.
Fixed in GcalMonthView handling of dates passed to event-creation.
Fixed gcal-utils sources for gcc warning.
Fixed calling order in GcalWindow.
This commit is contained in:
Erick Pérez Castellanos
2012-08-23 09:43:57 -04:00
parent 45e5eb5222
commit a9da2aa552
7 changed files with 138 additions and 23 deletions
+3
View File
@@ -550,6 +550,7 @@ gcal_month_view_button_press (GtkWidget *widget,
start_date = gcal_dup_icaltime (priv->date);
start_date->day = priv->start_mark_cell + priv->days_delay;
start_date->is_date = 1;
g_signal_emit_by_name (GCAL_VIEW (widget),
"create-event",
@@ -672,9 +673,11 @@ gcal_month_view_button_release (GtkWidget *widget,
start_date = gcal_dup_icaltime (priv->date);
start_date->day = priv->start_mark_cell + priv->days_delay;
start_date->is_date = 1;
end_date = gcal_dup_icaltime (priv->date);
end_date->day = priv->end_mark_cell + priv->days_delay;
end_date->is_date = 1;
g_signal_emit_by_name (GCAL_VIEW (widget),
"create-event",