Support new nemo widget api for menu items