Commit eb8f23f9 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer
Browse files

don't animate the expander arrows if gtk-enable-animations is FALSE (bug

2006-01-13  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_expand_row)
	(gtk_tree_view_real_collapse_row): don't animate the expander
	arrows if gtk-enable-animations is FALSE (bug #142582).
parent dda636ee
2006-01-13 Michael Natterer <mitch@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_real_expand_row)
(gtk_tree_view_real_collapse_row): don't animate the expander
arrows if gtk-enable-animations is FALSE (bug #142582).
2006-01-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c: Replace hardcoded values for tab-overlap and
......
2006-01-13 Michael Natterer <mitch@imendio.com>
* gtk/gtktreeview.c (gtk_tree_view_real_expand_row)
(gtk_tree_view_real_collapse_row): don't animate the expander
arrows if gtk-enable-animations is FALSE (bug #142582).
2006-01-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c: Replace hardcoded values for tab-overlap and
......
......@@ -10740,6 +10740,11 @@ gtk_tree_view_real_expand_row (GtkTreeView *tree_view,
GtkTreeIter temp;
gboolean expand;
if (animate)
g_object_get (gtk_widget_get_settings (GTK_WIDGET (tree_view)),
"gtk-enable-animations", &animate,
NULL);
remove_auto_expand_timeout (tree_view);
if (node->children && !open_all)
......@@ -10885,6 +10890,11 @@ gtk_tree_view_real_collapse_row (GtkTreeView *tree_view,
GList *list;
GdkWindow *child, *parent;
if (animate)
g_object_get (gtk_widget_get_settings (GTK_WIDGET (tree_view)),
"gtk-enable-animations", &animate,
NULL);
remove_auto_expand_timeout (tree_view);
if (node->children == NULL)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment