views: correctly hide events according to the mod type
When deleting events with recurrence, we want to hide the event widgets according to the modification type. So that selecting e.g. subsequent in the modification type dialog hides the event, and the subsequent ones, truly reflecting the operation that will happen. Currently, however, the views don't do that, and only hide the event that was asked to be deleted. Fix that by passing the object modification type, and adapting the views to take that into account.
This commit is contained in:
@@ -46,8 +46,9 @@ void gcal_week_header_add_event (GcalWeekHeader
|
||||
void gcal_week_header_remove_event (GcalWeekHeader *self,
|
||||
const gchar *uuid);
|
||||
|
||||
GList* gcal_week_header_get_children_by_uuid (GcalWeekHeader *self,
|
||||
const gchar *uuid);
|
||||
GList* gcal_week_header_get_children_by_uuid (GcalWeekHeader *self,
|
||||
GcalRecurrenceModType mod,
|
||||
const gchar *uuid);
|
||||
|
||||
GtkSizeGroup* gcal_week_header_get_sidebar_size_group (GcalWeekHeader *self);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user