Generates marks for each Saturday and Sunday of the displayed month.
There is already a function that send the correspective signal to EDJE
for the theme to properly render a weekend.
Also removing deprecated _text_day_color_update
I am not sure I follow. I get that the definition of the weekend (start and stop) can be different across countries but it eludes me how _text_day_color_update is correctly handling that.
Are we populating day_color in a way that the correct days defining the weekend are marked as DAY_SATURDAY and DAY_SUNDAY?
I am sorry I fail to see how _text_day_color_update is helping in the situation you mentioned. Can you elaborate more on this?
For the missing signal handler in the theme, you are correct. I only added the relativ part in the EDJE in the flat theme. I shall add the same in the default theme.
@CHAN Sorry for the absence. I looked at the code again. I understand you know.
If I am not mistaken, we have no information on when the weekend starts in the Elm_Calendar_Data structure.
Perhaps I could add something like that:
Elm_Calendar_Weekday first_weekend_day; int weekend_length;
I still need to figure out how I can read the clock configuration about weekends (weekend.start and weekend.len)and use it here.
Anyhow, I believe that until the change on the calendar ejde (https://phab.enlightenment.org/D11875) file is not merged, the calendar widget will still work.