In a saucepan over medium heat, soften the onion in the butter. Add the barley and cook for about 2 minutes, stirring constantly. Season with salt and pepper. Add the broth and bring to a boil. Reduce the heat, cover and simmer gently until the barley is tender, 30 to 40 minutes.