Fix notebook expanding in the properties window (on window resize)

Taken from [this upstream commit](http://bazaar.launchpad.net/~synaptic-developers/synaptic/trunk/revision/2165).