Bonobo resize broken?



Hi,

if one loads an image in Eye of Gnome (CVS head, bonobo version), the
window won't be resized to the image size. This behaviour is really bad
and I am about to fix it.

My only problem is, that it doesn't work. I've tested my code with the old
eog 0.6 release, which doesn't use bonobo and it works perfectly.

If I ask the control by hand which size it desires (through the
getDesiredSize method) it tells me the correct size of the image. But the
ControlFrame/BonoboWindow doesn't recognize it and nothing else happens.
Especially the main window doesn't increase its size.

I've tried to call the queueResize method on the ControlFrame but this
method does nothing and contains only the comment that the GTK system take
care of this. Can anybody give me some hints how this bonobo
getDesiredSize/setSize/queueResize system works?

Thanks,

   Jens






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]