linux-native-menus: implement the callback