05ec02fadbc2b26daf30da250fa46871b0c5552f
Using GtkToggleButton in this case is not only overkill for our intended use case, it is also a hinderance, as the states and focus of the widget are handled by the widget itself, which can lead to unpredictable and undesired behavior. Using AdwBin solves this problem by allowing us to set the styles and states from the parent, provided that the CSS name is changed to "button". Switching to AdwBin also allows us to not override the `focus()`, `grab_focus()`, and `get_platform_state()` virtual methods. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/841>
Installation
Links
- Homepage: apps.gnome.org/Calendar
- Report an issue: gitlab.gnome.org/GNOME/gnome-calendar/issues
- Donate: donate.gnome.org
- Translate: l10n.gnome.org/module/gnome-calendar
- Contact: matrix.to/#/#gnome-calendar:gnome.org
Contributing
For information on how to contribute, please check CONTRIBUTING.md and HACKING.md.
Languages
C
97.6%
Meson
1.2%
CSS
0.7%
Python
0.3%
Shell
0.2%
