forked from AuroraMiddleware/gtk
GtkTreeView: Update prelight row after revalidating rows
It might have changed (eg. after a row being expanded, and the child rows revalidated), so just update it here based on the last pointer position. Based on a patch by Maxim Reznik <reznikmm@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=760891
This commit is contained in:
parent
a5f9dc1284
commit
f32a54fb70
@ -6990,6 +6990,11 @@ do_validate_rows (GtkTreeView *tree_view, gboolean queue_resize)
|
||||
if (path) gtk_tree_path_free (path);
|
||||
g_timer_destroy (timer);
|
||||
|
||||
if (!retval && gtk_widget_get_mapped (GTK_WIDGET (tree_view)))
|
||||
update_prelight (tree_view,
|
||||
tree_view->priv->event_last_x,
|
||||
tree_view->priv->event_last_y);
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user