Commit b0fd18c7 authored by Andrew T. Veliath's avatar Andrew T. Veliath

Include radio buttons when setting relief for button items.

	* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
	buttons when setting relief for button items.
	(gtk_toolbar_set_button_relief): Same.
parent 91d99f89
1998-11-24 Andrew T. Veliath <andrewtv@usa.net>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
buttons when setting relief for button items.
(gtk_toolbar_set_button_relief): Same.
1998-11-23 Jeff Garzik <jgarzik@pobox.com>
* gdk/Makefile.am, gtk/Makefile.am:
......
1998-11-24 Andrew T. Veliath <andrewtv@usa.net>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
buttons when setting relief for button items.
(gtk_toolbar_set_button_relief): Same.
1998-11-23 Jeff Garzik <jgarzik@pobox.com>
* gdk/Makefile.am, gtk/Makefile.am:
......
1998-11-24 Andrew T. Veliath <andrewtv@usa.net>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
buttons when setting relief for button items.
(gtk_toolbar_set_button_relief): Same.
1998-11-23 Jeff Garzik <jgarzik@pobox.com>
* gdk/Makefile.am, gtk/Makefile.am:
......
1998-11-24 Andrew T. Veliath <andrewtv@usa.net>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
buttons when setting relief for button items.
(gtk_toolbar_set_button_relief): Same.
1998-11-23 Jeff Garzik <jgarzik@pobox.com>
* gdk/Makefile.am, gtk/Makefile.am:
......
1998-11-24 Andrew T. Veliath <andrewtv@usa.net>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
buttons when setting relief for button items.
(gtk_toolbar_set_button_relief): Same.
1998-11-23 Jeff Garzik <jgarzik@pobox.com>
* gdk/Makefile.am, gtk/Makefile.am:
......
1998-11-24 Andrew T. Veliath <andrewtv@usa.net>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
buttons when setting relief for button items.
(gtk_toolbar_set_button_relief): Same.
1998-11-23 Jeff Garzik <jgarzik@pobox.com>
* gdk/Makefile.am, gtk/Makefile.am:
......
1998-11-24 Andrew T. Veliath <andrewtv@usa.net>
* gtk/gtktoolbar.c (gtk_toolbar_insert_element): Include radio
buttons when setting relief for button items.
(gtk_toolbar_set_button_relief): Same.
1998-11-23 Jeff Garzik <jgarzik@pobox.com>
* gdk/Makefile.am, gtk/Makefile.am:
......
......@@ -781,6 +781,7 @@ gtk_toolbar_insert_element (GtkToolbar *toolbar,
child->widget = gtk_radio_button_new (widget
? gtk_radio_button_group (GTK_RADIO_BUTTON (widget))
: NULL);
gtk_button_set_relief (GTK_BUTTON (child->widget), toolbar->relief);
gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (child->widget), FALSE);
}
......@@ -911,6 +912,7 @@ gtk_toolbar_set_button_relief (GtkToolbar *toolbar,
{
child = children->data;
if (child->type == GTK_TOOLBAR_CHILD_BUTTON ||
child->type == GTK_TOOLBAR_CHILD_RADIOBUTTON ||
child->type == GTK_TOOLBAR_CHILD_TOGGLEBUTTON)
gtk_button_set_relief (GTK_BUTTON (child->widget), relief);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment