mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Fix a boundary case in scrolling where a tab was not shown. (#168105,
2006-05-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Fix a boundary case in scrolling where a tab was not shown. (#168105, Hiroyuki Ikezoe, patch by Kouhei Sutou)
This commit is contained in:
parent
2d4235c28b
commit
b2af13f123
@ -1,3 +1,9 @@
|
||||
2006-05-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Fix a
|
||||
boundary case in scrolling where a tab was not shown. (#168105,
|
||||
Hiroyuki Ikezoe, patch by Kouhei Sutou)
|
||||
|
||||
2006-05-19 Damon Chaplin <damon@gnome.org>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_init): use
|
||||
|
@ -1,3 +1,9 @@
|
||||
2006-05-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Fix a
|
||||
boundary case in scrolling where a tab was not shown. (#168105,
|
||||
Hiroyuki Ikezoe, patch by Kouhei Sutou)
|
||||
|
||||
2006-05-19 Damon Chaplin <damon@gnome.org>
|
||||
|
||||
* gtk/gtkfontsel.c (gtk_font_selection_init): use
|
||||
|
@ -4851,7 +4851,9 @@ gtk_notebook_calculate_shown_tabs (GtkNotebook *notebook,
|
||||
&(notebook->first_tab), remaining_space,
|
||||
STEP_PREV);
|
||||
|
||||
if (*remaining_space <= 0)
|
||||
page = notebook->focus_tab->data;
|
||||
if (*remaining_space <= 0 &&
|
||||
!gtk_widget_get_child_visible(page->tab_label))
|
||||
{
|
||||
notebook->first_tab =
|
||||
gtk_notebook_search_page (notebook, notebook->first_tab,
|
||||
|
Loading…
Reference in New Issue
Block a user