removed wrong condition check that caused tab labels not to be drawn under
2006-04-18 Carlos Garnacho <carlosg@gnome.org> * gtk/gtknotebook.c (gtk_notebook_pages_allocate): removed wrong condition check that caused tab labels not to be drawn under certain circumstances. Bug #338734.
This commit is contained in:
committed by
Carlos Garnacho
parent
9aaf712ad1
commit
27f53394be
@ -5110,11 +5110,8 @@ gtk_notebook_pages_allocate (GtkNotebook *notebook,
|
||||
|
||||
while (children)
|
||||
{
|
||||
page = children->data;
|
||||
gtk_notebook_page_allocate (notebook, GTK_NOTEBOOK_PAGE (children));
|
||||
children = children->next;
|
||||
|
||||
if (GTK_WIDGET_DRAWABLE (page->tab_label))
|
||||
gtk_notebook_page_allocate (notebook, page);
|
||||
}
|
||||
|
||||
gtk_notebook_redraw_tabs (notebook);
|
||||
|
||||
Reference in New Issue
Block a user