diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-07-06 02:10:32 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-07-06 02:10:32 +0000 |
commit | 0b6c3f54974234f04835911c8846f304401bd4e4 (patch) | |
tree | 31134c5b98e9719c4ab4a6c052bb894bc5a10390 /gtk/gtkbox.c | |
parent | d69aa7e9c1a07fc5188555038c2bffc4ee3ea24d (diff) | |
download | gtk+-0b6c3f54974234f04835911c8846f304401bd4e4.tar.gz |
Patch from Gregory Merchan to add gtk_button_box_set_secondary(), which
Thu Jul 5 21:53:46 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbbox.[ch] gtk/gtkbox.[ch] gtk/gtk[hv]bbox.c:
Patch from Gregory Merchan to add
gtk_button_box_set_secondary(), which separates
the child into a separate group from the normal
buttons. (#56331)
* gtk/gtkdialog.c: Make help buttons secondary by
default.
* gtk/gtkbbox.c: Added a child property "secondary".
* gtk/testgtk.c: Turn on the help button for the
color selector to check that it properly appears
as secondary.
Diffstat (limited to 'gtk/gtkbox.c')
-rw-r--r-- | gtk/gtkbox.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index 36ea538db8..979bf02ee9 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -371,6 +371,7 @@ gtk_box_pack_start (GtkBox *box, child_info->expand = expand ? TRUE : FALSE; child_info->fill = fill ? TRUE : FALSE; child_info->pack = GTK_PACK_START; + child_info->is_secondary = FALSE; box->children = g_list_append (box->children, child_info); @@ -416,6 +417,7 @@ gtk_box_pack_end (GtkBox *box, child_info->expand = expand ? TRUE : FALSE; child_info->fill = fill ? TRUE : FALSE; child_info->pack = GTK_PACK_END; + child_info->is_secondary = FALSE; box->children = g_list_append (box->children, child_info); |