Add a menu-name property and use it in a default implementation of ::clicked to switch menus if we are inside a stack. This means GtkModelButton is no longer entirely generic, but rather expects to be used inside a GtkPopoverMenu. It still works in other contexts too, of course.
e095918 GtkModelButton: Add a menu-name property
gtk/gtkmodelbutton.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Upstream: git.gnome.org