mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Handle TOGGLE/RADIOBUTTON as well. (#68201, Damon Chaplin.)
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtktoolbar.c (gtk_toolbar_set_icon_size): Handle TOGGLE/RADIOBUTTON as well. (#68201, Damon Chaplin.) * gtk/gtktoolbar.c (get_first_child): Fix stupid bug, just introduced.
This commit is contained in:
parent
cc605cf5f4
commit
5c71539c26
@ -1,3 +1,12 @@
|
||||
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
|
||||
Handle TOGGLE/RADIOBUTTON as well. (#68201,
|
||||
Damon Chaplin.)
|
||||
|
||||
* gtk/gtktoolbar.c (get_first_child): Fix stupid
|
||||
bug, just introduced.
|
||||
|
||||
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
|
||||
Handle TOGGLE/RADIOBUTTON as well. (#68201,
|
||||
Damon Chaplin.)
|
||||
|
||||
* gtk/gtktoolbar.c (get_first_child): Fix stupid
|
||||
bug, just introduced.
|
||||
|
||||
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
|
||||
Handle TOGGLE/RADIOBUTTON as well. (#68201,
|
||||
Damon Chaplin.)
|
||||
|
||||
* gtk/gtktoolbar.c (get_first_child): Fix stupid
|
||||
bug, just introduced.
|
||||
|
||||
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
|
||||
Handle TOGGLE/RADIOBUTTON as well. (#68201,
|
||||
Damon Chaplin.)
|
||||
|
||||
* gtk/gtktoolbar.c (get_first_child): Fix stupid
|
||||
bug, just introduced.
|
||||
|
||||
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
|
||||
Handle TOGGLE/RADIOBUTTON as well. (#68201,
|
||||
Damon Chaplin.)
|
||||
|
||||
* gtk/gtktoolbar.c (get_first_child): Fix stupid
|
||||
bug, just introduced.
|
||||
|
||||
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
|
||||
Handle TOGGLE/RADIOBUTTON as well. (#68201,
|
||||
Damon Chaplin.)
|
||||
|
||||
* gtk/gtktoolbar.c (get_first_child): Fix stupid
|
||||
bug, just introduced.
|
||||
|
||||
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
|
||||
|
@ -1,3 +1,12 @@
|
||||
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
|
||||
Handle TOGGLE/RADIOBUTTON as well. (#68201,
|
||||
Damon Chaplin.)
|
||||
|
||||
* gtk/gtktoolbar.c (get_first_child): Fix stupid
|
||||
bug, just introduced.
|
||||
|
||||
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
|
||||
|
@ -981,7 +981,9 @@ gtk_toolbar_set_icon_size (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 ||
|
||||
child->type == GTK_TOOLBAR_CHILD_RADIOBUTTON) &&
|
||||
GTK_IS_IMAGE (child->icon))
|
||||
{
|
||||
image = GTK_IMAGE (child->icon);
|
||||
@ -1605,7 +1607,7 @@ gtk_real_toolbar_orientation_changed (GtkToolbar *toolbar,
|
||||
static GtkWidget *
|
||||
get_first_child (GtkContainer *container)
|
||||
{
|
||||
GList *children = gtk_container_get_children (children);
|
||||
GList *children = gtk_container_get_children (container);
|
||||
GtkWidget *result = children ? children->data : NULL;
|
||||
g_list_free (children);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user