mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
use CHILD_VISIBLE instead of VISIBLE to determine whether we should stop
Sat Dec 27 23:17:56 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE instead of VISIBLE to determine whether we should stop sliding. (#130018, reported by Christian Persch).
This commit is contained in:
parent
2c15dd6ac4
commit
df9e4fa8b5
@ -1,3 +1,9 @@
|
||||
Sat Dec 27 23:17:56 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE
|
||||
instead of VISIBLE to determine whether we should stop
|
||||
sliding. (#130018, reported by Christian Persch).
|
||||
|
||||
Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Dec 27 23:17:56 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE
|
||||
instead of VISIBLE to determine whether we should stop
|
||||
sliding. (#130018, reported by Christian Persch).
|
||||
|
||||
Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Dec 27 23:17:56 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE
|
||||
instead of VISIBLE to determine whether we should stop
|
||||
sliding. (#130018, reported by Christian Persch).
|
||||
|
||||
Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Dec 27 23:17:56 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE
|
||||
instead of VISIBLE to determine whether we should stop
|
||||
sliding. (#130018, reported by Christian Persch).
|
||||
|
||||
Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Dec 27 23:17:56 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE
|
||||
instead of VISIBLE to determine whether we should stop
|
||||
sliding. (#130018, reported by Christian Persch).
|
||||
|
||||
Fri Dec 26 23:24:35 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
|
||||
|
@ -1074,12 +1074,13 @@ slide_idle_handler (gpointer data)
|
||||
|
||||
if ((content->state == NOT_ALLOCATED) ||
|
||||
(content->state == NORMAL &&
|
||||
GTK_WIDGET_CHILD_VISIBLE (content->item) &&
|
||||
((content->goal_allocation.x != widget->allocation.x ||
|
||||
content->goal_allocation.y != widget->allocation.y ||
|
||||
content->goal_allocation.width != widget->allocation.width ||
|
||||
content->goal_allocation.height != widget->allocation.height))) ||
|
||||
(content->is_placeholder && content->disappearing &&
|
||||
GTK_WIDGET_VISIBLE (content->item)))
|
||||
GTK_WIDGET_CHILD_VISIBLE (content->item)))
|
||||
{
|
||||
gtk_widget_queue_resize_no_redraw (GTK_WIDGET (toolbar));
|
||||
return TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user