MenuToolkit.addMenuItem(quickListMenu, ActionManager.getActionInstance(ShowTabsQLAction.Descriptor.ACTION_ID, mainFrame), menuItemMnemonicHelper2);
goMenu.add(quickListMenu);
// Add Bonjour services menu
goMenu.add(new JSeparator());
BonjourMenu bonjourMenu = new BonjourMenu() {
@Override
public MuAction getMenuItemAction(BonjourService bs) {
return new OpenLocationAction(MainMenuBar.this.mainFrame, new Hashtable<String, Object>(), bs);
}
};
char mnemonic = menuItemMnemonicHelper.getMnemonic(bonjourMenu.getName());
if(mnemonic!=0)
bonjourMenu.setMnemonic(mnemonic);
bonjourMenu.setIcon(null);
goMenu.add(bonjourMenu);
// Volumes will be added when the menu is selected
goMenu.add(new JSeparator());
volumeOffset = goMenu.getItemCount();