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>
|
2006-02-16 Federico Mena Quintero <federico@novell.com>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call
|
* 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>
|
2006-02-16 Federico Mena Quintero <federico@novell.com>
|
||||||
|
|
||||||
* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call
|
* 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 */
|
/* virtual root anchor reordering */
|
||||||
if (filter->priv->virtual_root &&
|
if (filter->priv->virtual_root &&
|
||||||
gtk_tree_path_get_depth (c_path) <
|
gtk_tree_path_is_ancestor (c_path, filter->priv->virtual_root))
|
||||||
gtk_tree_path_get_depth (filter->priv->virtual_root))
|
|
||||||
{
|
{
|
||||||
gint new_pos = -1;
|
gint new_pos = -1;
|
||||||
gint length;
|
gint length;
|
||||||
|
Loading…
Reference in New Issue
Block a user