]> Pileus Git - ~andy/gtk/commit
Fixed child->icon and child->label == NULL bugs.
authorFederico Mena Quintero <federico@nuclecu.unam.mx>
Tue, 13 Jan 1998 06:14:52 +0000 (06:14 +0000)
committerArturo Espinosa <unammx@src.gnome.org>
Tue, 13 Jan 1998 06:14:52 +0000 (06:14 +0000)
commit139026de73d4f7ef87a1ab210678bf3fe21e227c
tree36eab1e0313f4b143ec3f46535e03e61def1bbef
parent284882b8c736e458ae8d6de509352caf4177b1df
Fixed child->icon and child->label == NULL bugs.

1998-01-13  Federico Mena Quintero  <federico@nuclecu.unam.mx>

* gtk/gtktoolbar.c: (gtk_real_toolbar_style_changed): Fixed
child->icon and child->label == NULL bugs.

* gtk/gtktoolbar.h: Added some new functions:
gtk_toolbar_append_widget()
gtk_toolbar_prepend_widget()
gtk_toolbar_insert_widget()
These let the user insert any kind of widget in the toolbar.  Also
changed the gtk_toolbar_*_item() functions to return a
GtkWidget * so that the user can do things with the toolbar buttons.

* gtk/gtktoolbar.c: Now the toolbar supports its own buttons and
arbitrary widgets as well.  Geometry management has been changed
accordingly.  Added gtk_toolbar_remove() function, so container
functionality should be complete now.

* gtk/testgtk.c (create_toolbar): Added an entry widget to test
the new toolbar.

* Most of these changes are adapted from the
gtk-lupus-970112-0-patch (should be 970112... :-)
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/gtktoolbar.c
gtk/gtktoolbar.h
gtk/testgtk.c
tests/testgtk.c