I think this should probably go in hide_all_appointments() rather than update_appointment_menu_items().
You're completely right about removing hide_all_appointments() from day_selected_cb() though -- the flickering is coming from the idle interval between day_selected_cb() and update_appointment_menu_items_idle().
Good catch, thanks!
I think this should probably go in hide_all_ appointments( ) rather than update_ appointment_ menu_items( ).
You're completely right about removing hide_all_ appointments( ) from day_selected_cb() though -- the flickering is coming from the idle interval between day_selected_cb() and update_ appointment_ menu_items_ idle().