Lines Matching refs:all_day

80   gboolean all_day;  in find_best_timezones_for_event()  local
84 all_day = gtk_switch_get_active (self->all_day_switch); in find_best_timezones_for_event()
89 all_day, in find_best_timezones_for_event()
93 if (!new_event && was_all_day && !all_day) in find_best_timezones_for_event()
101 if (all_day) in find_best_timezones_for_event()
150 gboolean all_day; in return_datetime_for_widgets() local
152 all_day = gtk_switch_get_active (self->all_day_switch); in return_datetime_for_widgets()
159 all_day ? 0 : g_date_time_get_hour (time), in return_datetime_for_widgets()
160 all_day ? 0 : g_date_time_get_minute (time), in return_datetime_for_widgets()
163 if (all_day) in return_datetime_for_widgets()
172 all_day ? 0 : g_date_time_get_hour (date_in_best_tz), in return_datetime_for_widgets()
173 all_day ? 0 : g_date_time_get_minute (date_in_best_tz), in return_datetime_for_widgets()
220 gboolean all_day) in format_datetime_for_display() argument
231 local_dt = all_day ? g_date_time_ref (date) : g_date_time_to_local (date); in format_datetime_for_display()
273 if (!all_day) in format_datetime_for_display()
313 gboolean all_day; in update_date_labels() local
317 all_day = gtk_switch_get_active (self->all_day_switch); in update_date_labels()
320 start_label = format_datetime_for_display (start, time_format, all_day); in update_date_labels()
321 end_label = format_datetime_for_display (end, time_format, all_day); in update_date_labels()
458 gboolean all_day; in gcal_schedule_section_set_event() local
503 all_day = gcal_event_get_all_day (event); in gcal_schedule_section_set_event()
507 date_start = all_day ? g_date_time_ref (date_start) : g_date_time_to_local (date_start); in gcal_schedule_section_set_event()
514 date_end = all_day ? g_date_time_add_days (date_end, -1) : g_date_time_to_local (date_end); in gcal_schedule_section_set_event()
537 gtk_switch_set_active (self->all_day_switch, all_day); in gcal_schedule_section_set_event()
553 gboolean all_day; in gcal_schedule_section_apply() local
558 all_day = gtk_switch_get_active (self->all_day_switch); in gcal_schedule_section_apply()
561 if (!was_all_day && all_day) in gcal_schedule_section_apply()
581 gcal_event_set_all_day (self->event, all_day); in gcal_schedule_section_apply()
588 if (all_day) in gcal_schedule_section_apply()
595 else if (!all_day && was_all_day) in gcal_schedule_section_apply()