properties-window: rewrite pie chart drawing to use GtkStyleContext

Instead of hardcoded values. This makes it more theme friendly too.