mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
only show the child if we have one.
Mon Oct 6 14:18:47 2003 Jonathan Blandford <jrb@redhat.com> * gtk/gtkexpander.c (gtk_expander_animation_timeout): only show the child if we have one. (gtk_expander_button_release): use gtk_widget_activate instead.
This commit is contained in:
parent
5f5323d820
commit
18afbf48af
@ -1,3 +1,11 @@
|
||||
Mon Oct 6 14:18:47 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkexpander.c (gtk_expander_animation_timeout): only show
|
||||
the child if we have one.
|
||||
|
||||
(gtk_expander_button_release): use
|
||||
gtk_widget_activate instead.
|
||||
|
||||
Mon Oct 6 21:05:46 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktable.c (gtk_table_class_init): Start the blurb for
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Oct 6 14:18:47 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkexpander.c (gtk_expander_animation_timeout): only show
|
||||
the child if we have one.
|
||||
|
||||
(gtk_expander_button_release): use
|
||||
gtk_widget_activate instead.
|
||||
|
||||
Mon Oct 6 21:05:46 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktable.c (gtk_table_class_init): Start the blurb for
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Oct 6 14:18:47 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkexpander.c (gtk_expander_animation_timeout): only show
|
||||
the child if we have one.
|
||||
|
||||
(gtk_expander_button_release): use
|
||||
gtk_widget_activate instead.
|
||||
|
||||
Mon Oct 6 21:05:46 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktable.c (gtk_table_class_init): Start the blurb for
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Oct 6 14:18:47 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkexpander.c (gtk_expander_animation_timeout): only show
|
||||
the child if we have one.
|
||||
|
||||
(gtk_expander_button_release): use
|
||||
gtk_widget_activate instead.
|
||||
|
||||
Mon Oct 6 21:05:46 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktable.c (gtk_table_class_init): Start the blurb for
|
||||
|
@ -1,3 +1,11 @@
|
||||
Mon Oct 6 14:18:47 2003 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtkexpander.c (gtk_expander_animation_timeout): only show
|
||||
the child if we have one.
|
||||
|
||||
(gtk_expander_button_release): use
|
||||
gtk_widget_activate instead.
|
||||
|
||||
Mon Oct 6 21:05:46 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktable.c (gtk_table_class_init): Start the blurb for
|
||||
|
@ -801,7 +801,7 @@ gtk_expander_button_release (GtkWidget *widget,
|
||||
|
||||
if (event->button == 1 && expander->priv->button_down)
|
||||
{
|
||||
gtk_expander_activate (expander);
|
||||
gtk_widget_activate (widget);
|
||||
expander->priv->button_down = FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
@ -1163,7 +1163,8 @@ gtk_expander_animation_timeout (GtkExpander *expander)
|
||||
if (finish)
|
||||
{
|
||||
priv->animation_timeout = 0;
|
||||
gtk_widget_set_child_visible (GTK_BIN (expander)->child, priv->expanded);
|
||||
if (GTK_BIN (expander)->child)
|
||||
gtk_widget_set_child_visible (GTK_BIN (expander)->child, priv->expanded);
|
||||
gtk_widget_queue_resize (GTK_WIDGET (expander));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user