GNOME Bugzilla – Bug 662629
notebook: update tab area allocation when switching page
Last modified: 2011-12-22 00:18:57 UTC
See patch
Created attachment 199849 [details] [review] notebook: update tab area allocation when switching page When the active page is switched, it's important gtk_notebook_pages_allocate() is called after the bulk of gtk_notebook_real_switch_page() is run, as the former allocates a different space according to the currently active tab, which is set by the latter. gtk_notebook_pages_allocate() already calls gtk_notebook_redraw_tabs() when the allocation changes, so just move its call down to gtk_notebook_real_switch_page() to fix the bug.
Review of attachment 199849 [details] [review]: Looks plausible, and fixes my issue. Thanks !
Attachment 199849 [details] pushed as ccdc3c1 - notebook: update tab area allocation when switching page Pushed to master.
*** Bug 666246 has been marked as a duplicate of this bug. ***