Skip to content

gtkmodelbutton: Always close submenus when changing parent item

This seems like a good place to do it: if the item had a submenu, we'd open it instead of any other. If it doesn't, we close any other sub-menu. This is similar to the behavior of submenus in GTK 3, except that it doesn't work if the menu item is insensitive, but it's still better.

Merge request reports