Commit 27070f14 authored by Committed by Søren Sandmann Pedersen
Base the decision to map/unmap items on whether they are actually
Sun Jan 25 15:14:46 2004 Soeren Sandmann <firstname.lastname@example.org> * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Base the decision to map/unmap items on whether they are actually allocated outside the toolbar, not on whether that will eventually happen. Improves animation in the presence of overflown items. * gtk/gtktoolbar.c (gtk_toolbar_begin_sliding): Add a queue_resize() to so that the items will get their new goal values and the idle handler will not immediately return FALSE. * gtk/gtktoolbar.c (slide_idle_handler): simplify the logic and make sure that a placeholder becoming invisible doesn't cause a return TRUE. * gtk/gtktoolbar.c (get_item_size): Don't special case placeholders here.
Showing with 163 additions and 38 deletions