[duim,gtk] Fake support for separators in menus.

This code isn't called at the right time, so it doesn't really
work yet.