toolbar: Simplify overflow implementation
authorMatthias Clasen <mclasen@redhat.com>
Fri, 27 Dec 2019 06:32:27 +0000 (01:32 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 30 Dec 2019 01:31:57 +0000 (20:31 -0500)
commit8ee44d200d6f75a350853d574c4ce9d6c19b566b
treef755796170a2a3d6538b3e5b6312d032adcc92c2
parent57b7e87d765e72bf8d44f5675ffa3f71c54efec9
toolbar: Simplify overflow implementation

Do away with the proxy menu items, and instead
just have toolitems provide a label for overflow
items. We create the overflow widgets ourselves
already, as model buttons.
Also replace the toggle button used for overflow
with a menubutton, simplifying things further.
docs/reference/gtk/gtk4-sections.txt
gtk/gtkseparatortoolitem.c
gtk/gtktoggletoolbutton.c
gtk/gtktoolbar.c
gtk/gtktoolbutton.c
gtk/gtktoolitem.c
gtk/gtktoolitem.h