mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
Only update the virtual root if the child path is an ancestor of the
2006-02-17 Kristian Rietveld <kris@imendio.com> * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered): Only update the virtual root if the child path is an ancestor of the virtual root. (Patch from Markku Vire).
This commit is contained in:
parent
c60f666378
commit
2acb0491fb
@ -1,3 +1,9 @@
|
||||
2006-02-17 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
|
||||
Only update the virtual root if the child path is an ancestor
|
||||
of the virtual root. (Patch from Markku Vire).
|
||||
|
||||
2006-02-16 Federico Mena Quintero <federico@novell.com>
|
||||
|
||||
* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call
|
||||
|
@ -1,3 +1,9 @@
|
||||
2006-02-17 Kristian Rietveld <kris@imendio.com>
|
||||
|
||||
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
|
||||
Only update the virtual root if the child path is an ancestor
|
||||
of the virtual root. (Patch from Markku Vire).
|
||||
|
||||
2006-02-16 Federico Mena Quintero <federico@novell.com>
|
||||
|
||||
* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call
|
||||
|
@ -1940,8 +1940,7 @@ gtk_tree_model_filter_rows_reordered (GtkTreeModel *c_model,
|
||||
|
||||
/* virtual root anchor reordering */
|
||||
if (filter->priv->virtual_root &&
|
||||
gtk_tree_path_get_depth (c_path) <
|
||||
gtk_tree_path_get_depth (filter->priv->virtual_root))
|
||||
gtk_tree_path_is_ancestor (c_path, filter->priv->virtual_root))
|
||||
{
|
||||
gint new_pos = -1;
|
||||
gint length;
|
||||
|
Loading…
Reference in New Issue
Block a user