From 53ac2efcad3eab0a9d1ee2dfbe9ee8a8d3038419 Mon Sep 17 00:00:00 2001 From: Federico Mena Date: Mon, 19 Jan 1998 23:45:37 +0000 Subject: [PATCH] Set container_class->focus to NULL. Widgets in the toolbar should not get Mon Jan 19 16:21:00 1998 Federico Mena * 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). --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktoolbar.c | 1 + 8 files changed, 36 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0d2dab1b5a..a9845729c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ Mon Jan 19 16:21:00 1998 Federico Mena + * 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). + * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to match Eckehard's new prototypes. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 0d2dab1b5a..a9845729c1 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,5 +1,10 @@ Mon Jan 19 16:21:00 1998 Federico Mena + * 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). + * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to match Eckehard's new prototypes. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 0d2dab1b5a..a9845729c1 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,10 @@ Mon Jan 19 16:21:00 1998 Federico Mena + * 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). + * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to match Eckehard's new prototypes. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 0d2dab1b5a..a9845729c1 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,5 +1,10 @@ Mon Jan 19 16:21:00 1998 Federico Mena + * 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). + * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to match Eckehard's new prototypes. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 0d2dab1b5a..a9845729c1 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,5 +1,10 @@ Mon Jan 19 16:21:00 1998 Federico Mena + * 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). + * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to match Eckehard's new prototypes. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 0d2dab1b5a..a9845729c1 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,10 @@ Mon Jan 19 16:21:00 1998 Federico Mena + * 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). + * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to match Eckehard's new prototypes. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 0d2dab1b5a..a9845729c1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,10 @@ Mon Jan 19 16:21:00 1998 Federico Mena + * 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). + * gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to match Eckehard's new prototypes. 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;