mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 13:10:07 +00:00
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.
This commit is contained in:
parent
91d99f8903
commit
b0fd18c7bf
@ -1,3 +1,9 @@
|
||||
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:
|
||||
|
@ -1,3 +1,9 @@
|
||||
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:
|
||||
|
@ -1,3 +1,9 @@
|
||||
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:
|
||||
|
@ -1,3 +1,9 @@
|
||||
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:
|
||||
|
@ -1,3 +1,9 @@
|
||||
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:
|
||||
|
@ -1,3 +1,9 @@
|
||||
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:
|
||||
|
@ -1,3 +1,9 @@
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user