mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-22 06:44:07 +00:00
When setting relief, also affect toggle buttons.
1998-11-23 Havoc Pennington <hp@pobox.com> * gtk/gtktoolbar.c: (gtk_toolbar_set_relief): (gtk_toolbar_insert_element): When setting relief, also affect toggle buttons.
This commit is contained in:
parent
6c0458c428
commit
3e90b96b08
@ -1,3 +1,9 @@
|
||||
1998-11-23 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
|
||||
(gtk_toolbar_insert_element): When setting relief, also affect
|
||||
toggle buttons.
|
||||
|
||||
Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkobject.h: remove extraneous comma
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-11-23 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
|
||||
(gtk_toolbar_insert_element): When setting relief, also affect
|
||||
toggle buttons.
|
||||
|
||||
Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkobject.h: remove extraneous comma
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-11-23 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
|
||||
(gtk_toolbar_insert_element): When setting relief, also affect
|
||||
toggle buttons.
|
||||
|
||||
Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkobject.h: remove extraneous comma
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-11-23 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
|
||||
(gtk_toolbar_insert_element): When setting relief, also affect
|
||||
toggle buttons.
|
||||
|
||||
Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkobject.h: remove extraneous comma
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-11-23 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
|
||||
(gtk_toolbar_insert_element): When setting relief, also affect
|
||||
toggle buttons.
|
||||
|
||||
Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkobject.h: remove extraneous comma
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-11-23 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
|
||||
(gtk_toolbar_insert_element): When setting relief, also affect
|
||||
toggle buttons.
|
||||
|
||||
Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkobject.h: remove extraneous comma
|
||||
|
@ -1,3 +1,9 @@
|
||||
1998-11-23 Havoc Pennington <hp@pobox.com>
|
||||
|
||||
* gtk/gtktoolbar.c: (gtk_toolbar_set_relief):
|
||||
(gtk_toolbar_insert_element): When setting relief, also affect
|
||||
toggle buttons.
|
||||
|
||||
Sun Nov 22 20:37:06 PST 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkobject.h: remove extraneous comma
|
||||
|
@ -772,6 +772,7 @@ gtk_toolbar_insert_element (GtkToolbar *toolbar,
|
||||
else if (type == GTK_TOOLBAR_CHILD_TOGGLEBUTTON)
|
||||
{
|
||||
child->widget = gtk_toggle_button_new ();
|
||||
gtk_button_set_relief (GTK_BUTTON (child->widget), toolbar->relief);
|
||||
gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (child->widget),
|
||||
FALSE);
|
||||
}
|
||||
@ -909,7 +910,8 @@ gtk_toolbar_set_button_relief (GtkToolbar *toolbar,
|
||||
for (children = toolbar->children; children; children = children->next)
|
||||
{
|
||||
child = children->data;
|
||||
if (child->type == GTK_TOOLBAR_CHILD_BUTTON)
|
||||
if (child->type == GTK_TOOLBAR_CHILD_BUTTON ||
|
||||
child->type == GTK_TOOLBAR_CHILD_TOGGLEBUTTON)
|
||||
gtk_button_set_relief (GTK_BUTTON (child->widget), relief);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user