Work around a missing state-changed event for Gtk+ submenus