summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.c
diff options
context:
space:
mode:
authorFederico Mena <federico@bananoid.nuclecu.unam.mx>1998-01-19 23:45:37 +0000
committerArturo Espinosa <unammx@src.gnome.org>1998-01-19 23:45:37 +0000
commit53ac2efcad3eab0a9d1ee2dfbe9ee8a8d3038419 (patch)
treed6faafca031405b9523228a7dce4b0b6ea50eb69 /gtk/gtktoolbar.c
parent73386d5761bff02580cc818f794cfdf52869f16b (diff)
downloadgtk+-53ac2efcad3eab0a9d1ee2dfbe9ee8a8d3038419.tar.gz
Set container_class->focus to NULL. Widgets in the toolbar should not get
Mon Jan 19 16:21:00 1998 Federico Mena <federico@bananoid.nuclecu.unam.mx> * gtk/gtktoolbar.c (gtk_toolbar_class_init): Set container_class->focus to NULL. Widgets in the toolbar should not get the focus via the normal key bindings (no toolkit does this, and it makes sense).
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r--gtk/gtktoolbar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index df311fd972..c582254d8c 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -158,6 +158,7 @@ gtk_toolbar_class_init (GtkToolbarClass *class)
container_class->add = gtk_toolbar_add;
container_class->remove = gtk_toolbar_remove;
container_class->foreach = gtk_toolbar_foreach;
+ container_class->focus = NULL;
class->orientation_changed = gtk_real_toolbar_orientation_changed;
class->style_changed = gtk_real_toolbar_style_changed;