Bug 558522 – scroll arrow painted insensitive even though there are
2008-10-30 Matthias Clasen <mclasen@redhat.com> Bug 558522 – scroll arrow painted insensitive even though there are pages beyond the edge gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw arrows. Pointed out by Christian Persch svn path=/trunk/; revision=21738
This commit is contained in:

committed by
Matthias Clasen

parent
646549b4b4
commit
9ca66dd1c4
@ -4128,6 +4128,9 @@ gtk_notebook_real_insert_page (GtkNotebook *notebook,
|
||||
|
||||
gtk_notebook_update_tab_states (notebook);
|
||||
|
||||
if (notebook->scrollable)
|
||||
gtk_notebook_redraw_arrows (notebook);
|
||||
|
||||
gtk_widget_child_notify (child, "tab-expand");
|
||||
gtk_widget_child_notify (child, "tab-fill");
|
||||
gtk_widget_child_notify (child, "tab-pack");
|
||||
|
Reference in New Issue
Block a user