2006-05-22 Johan Bilien <johan.bilien@nokia.com>
authorJohan Bilien <johan.bilien@nokia.com>
Mon, 22 May 2006 16:44:28 +0000 (16:44 +0000)
committerJohan Bilien <johan.bilien@nokia.com>
Mon, 22 May 2006 16:44:28 +0000 (16:44 +0000)
commit9af4b02b25243155d03dbbcdb308ca962f82fa46
tree76df2e59307a21304e91e8eba7ad090707df03e6
parent75f83fbeb3a718b1bd6ffc9f806e4d21fc3d5566
2006-05-22 Johan Bilien <johan.bilien@nokia.com>

* hildon-widgets/hildon-window.c
(hildon_window_vbox_expose_event): This function has been
removed, now the window has the responsability of painting the
toolbar, because it has that space allocated.
(hildon_window_init): we do not have to connect the
hildon_window_vbox_expose_event function to the expose event of
the toolbar vbox anymore.
(hildon_window_expose): Added the call to paint_toolbar, as we can
see in the allocation function the toolbar decorators are
responsability of the window, and gdk was not sending the proper
events to the vbox because that space is not its responsability.
(hildon_window_remove_toolbar): We don't need a queue_draw here
because we have another call in the expose function when the size
of the container has been changed.

NB#29461
ChangeLog
hildon-widgets/hildon-window.c