b034bd4bf0da4d2b8b476019407cc1c895b63746
Currently the label text is only updated when set_value is called and the new value is different to the current value. So if a format callback is configured after the GcalMultiChoice is created, this won't be applied until the value is changed to something other than the default. The problem in issue #100 is that the default value for "month" is 0=>January. gcal_date_chooser_init sets the format callback and then calls gcal_multi_choice_set_value with value==0 which won't update the label. Fix by having gcal_multi_choice_set_format_callback update the label text with the result of applying the format callback to the current value. Fixes #100
GNOME Calendar
GNOME Calendar is a simple and beautiful calendar application for GNOME. We give a lot of attention to details, and as such, design is an essential and ongoing effort.
Useful links
- Homepage: https://wiki.gnome.org/Apps/Calendar
- Report issues: https://gitlab.gnome.org/GNOME/gnome-calendar/issues/
- Donate: https://www.gnome.org/friends/
- Translate: https://wiki.gnome.org/TranslationProject
Languages
C
97.6%
Meson
1.2%
CSS
0.7%
Python
0.3%
Shell
0.2%