palettemenuwidget: Ensure the widget is realized before popping it up, SL #4388
palettemenuwidget: Ensure the widget is realized before popping it up, SL #4388

Otherwise the internal state is messed up, GTK+ grabs may be held on
unrealized widgets.

Signed-off-by: Carlos Garnacho <ab5e2bca84933118bbc9d48ffaccce3bac4eeb64@lanedo.com>
Acked-by: Simon Schampijer <088e16a1019277b15d58faf0541e11910eb756f6@laptop.org>

tchx84/debian-pkg-sugar-toolkit-gtk3,tchx84/debian-pkg-sugar-toolkit-gtk3,tchx84/debian-pkg-sugar-toolkit-gtk3