]> Pileus Git - ~andy/gtk/commit
focus the activated tab, not the page. (#53612)
authorOwen Taylor <otaylor@redhat.com>
Tue, 15 Jan 2002 17:40:44 +0000 (17:40 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 15 Jan 2002 17:40:44 +0000 (17:40 +0000)
commit08431c79badf823f5a1d493965ed25dc71967877
tree1abc5fdacde36ecf7327d2b1b37350617df99750
parent3b3eee93041c32a807c1cf3cc9a6c5a93e0b007d
focus the activated tab, not the page. (#53612)

Tue Jan 15 12:23:33 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_mnemonic_activate_switch_page):
focus the activated tab, not the page. (#53612)

* gtk/gtknotebook.c (gtk_notebook_set_focus_child): Track
the last focus descendant of the page.

* gtk/gtknotebook.c (gtk_notebook_real_switch_page): If the focus
was on the previous page, move it to the last focused widget /
first element on the new page, if possible, or if not, to the
notebook itself. (#68224, reported by Jonathan Blandford)

* gtk/gtknotebook.c (focus_tabs_in): Don't focus tabs
tabs aren't visible. (#65462, Damon Chaplin, fixed based
on patch from Anders Carlsson)
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtknotebook.c