Make sure we queue at least one resize. This fixes a problem with

* gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue
        at least one resize. This fixes a problem with toolitems remaining
        invisible when they shouldn't that was reported by Christian Weiske.


svn path=/trunk/; revision=22260
This commit is contained in:
Matthias Clasen 2009-01-31 02:21:27 +00:00
parent 0eb4425c39
commit 6a8c49a43e
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2009-01-30 Matthias Clasen <mclasen@redhat.com>
Bug 359288 Toolbar items are not shown after hiding
* gtk/gtktoolbar.c (slide_idle_handler): Make sure we queue
at least one resize. This fixes a problem with toolitems remaining
invisible when they shouldn't that was reported by Christian Weiske.
2009-01-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):

View File

@ -1205,6 +1205,8 @@ slide_idle_handler (gpointer data)
}
}
gtk_widget_queue_resize_no_redraw (GTK_WIDGET (toolbar));
priv->is_sliding = FALSE;
priv->idle_id = 0;