]> git.0d.be Git - empathy.git/commit
CallWindow: properly determine the sidebar width
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Mon, 11 Jul 2011 15:04:47 +0000 (16:04 +0100)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Tue, 12 Jul 2011 08:46:23 +0000 (09:46 +0100)
commit3535c55225076c649883aa4a497893b1f165a110
tree0505d086d7352c05e9fb4b4dc510f9d008311baa
parent70fc920514af12b5c96e928a3178dfd9ddd8ed9e
CallWindow: properly determine the sidebar width

The first time we show the sidebar, gtk_widget_get_allocation()
doesn't return the correct width as the allocation hasn't been
done yet. So use gtk_widget_get_preferred_width() as the minimum
width is what is actually allocated.
src/empathy-call-window.c