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).
This commit is contained in:
		
				
					committed by
					
						
						Arturo Espinosa
					
				
			
			
				
	
			
			
			
						parent
						
							73386d5761
						
					
				
				
					commit
					53ac2efcad
				
			@ -1,5 +1,10 @@
 | 
			
		||||
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).
 | 
			
		||||
 | 
			
		||||
	* gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
 | 
			
		||||
	match Eckehard's new prototypes.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,10 @@
 | 
			
		||||
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).
 | 
			
		||||
 | 
			
		||||
	* gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
 | 
			
		||||
	match Eckehard's new prototypes.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,10 @@
 | 
			
		||||
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).
 | 
			
		||||
 | 
			
		||||
	* gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
 | 
			
		||||
	match Eckehard's new prototypes.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,10 @@
 | 
			
		||||
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).
 | 
			
		||||
 | 
			
		||||
	* gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
 | 
			
		||||
	match Eckehard's new prototypes.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,10 @@
 | 
			
		||||
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).
 | 
			
		||||
 | 
			
		||||
	* gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
 | 
			
		||||
	match Eckehard's new prototypes.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,10 @@
 | 
			
		||||
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).
 | 
			
		||||
 | 
			
		||||
	* gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
 | 
			
		||||
	match Eckehard's new prototypes.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,5 +1,10 @@
 | 
			
		||||
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).
 | 
			
		||||
 | 
			
		||||
	* gtk/testgtk.c (create_toolbar): Removed the GTK_PIXMAP casts to
 | 
			
		||||
	match Eckehard's new prototypes.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user