Description of problem:
When hide buttons are enabled and the panel is hidden, toggling arrow
icons on hide buttons cause the panel to redraw incorrectly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Open panel preferences for an expanded panel
2. Enable hide buttons and hide the panel
3. Toggle "Arrows on hide buttons"
The hide button from the hidden panel doesn't change when you enable
arrows, when you disable arrows a little bit of the panel is exposed.
Only the hide button should be visible when the panel is hidden and it
should show an arrow when arrows are selected.
Thanks, moved upstream: