forked from AuroraMiddleware/gtk
Fix a redraw problem with action widgets
Fixes bug 603245.
This commit is contained in:
parent
2f73fb76c1
commit
833b9b42cc
@ -5276,7 +5276,7 @@ gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook,
|
|||||||
remaining_space, STEP_NEXT);
|
remaining_space, STEP_NEXT);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tab_space <= 0 || *remaining_space < 0)
|
if (tab_space <= 0 || *remaining_space <= 0)
|
||||||
{
|
{
|
||||||
/* show 1 tab */
|
/* show 1 tab */
|
||||||
notebook->first_tab = notebook->focus_tab;
|
notebook->first_tab = notebook->focus_tab;
|
||||||
|
Loading…
Reference in New Issue
Block a user