Port the segmented bar from Banshee. https://bugzilla.gnome.org/show_bug.cgi?id=558576
mentioned in issue #653