Meanwhile place a large frying pan over a medium heat and add the olive oil. When hot, add the onion and a pinch of salt. When the onions have wilted turn down the heat and continue to cook for a good 20-30 minutes , stirring occasionally, until they are golden brown and sweet.