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>
Signed-off-by: Ajay Garg <1c58a446a63e719d7b90156a8998ccc461609ed7@activitycentral.com>

ceibal-tatu/sugar-toolkit-gtk3,ceibal-tatu/sugar-toolkit-gtk3,ceibal-tatu/sugar-toolkit-gtk3