diff options
author | Alexander Larsson <alexl@redhat.com> | 2003-06-27 16:35:32 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2003-06-27 16:35:32 +0000 |
commit | 5ebd6eec761792a4d7d3290ad48e422183d3f58c (patch) | |
tree | 97d1d06db3b31a25ca30c965ef10a4f77658ab2f /components | |
parent | 2979522c80ddcb95df8b63e34ac742bab4f567d1 (diff) | |
download | nautilus-5ebd6eec761792a4d7d3290ad48e422183d3f58c.tar.gz |
Mark model as ITERS_PERSIST.
2003-06-27 Alexander Larsson <alexl@redhat.com>
* components/tree/nautilus-tree-model.c (nautilus_tree_model_get_flags):
Mark model as ITERS_PERSIST.
Diffstat (limited to 'components')
-rw-r--r-- | components/tree/nautilus-tree-model.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/tree/nautilus-tree-model.c b/components/tree/nautilus-tree-model.c index 2630cc74e..64409b3ff 100644 --- a/components/tree/nautilus-tree-model.c +++ b/components/tree/nautilus-tree-model.c @@ -123,6 +123,12 @@ static void destroy_node_without_reporting (NautilusTreeModel *model, static void report_node_contents_changed (NautilusTreeModel *model, TreeNode *node); +static guint +nautilus_tree_model_get_flags (GtkTreeModel *tree_model) +{ + return GTK_TREE_MODEL_ITERS_PERSIST; +} + static void object_unref_if_not_NULL (gpointer object) { @@ -1740,6 +1746,7 @@ nautilus_tree_model_class_init (NautilusTreeModelClass *class) static void nautilus_tree_model_tree_model_init (GtkTreeModelIface *iface) { + iface->get_flags = nautilus_tree_model_get_flags; iface->get_n_columns = nautilus_tree_model_get_n_columns; iface->get_column_type = nautilus_tree_model_get_column_type; iface->get_iter = nautilus_tree_model_get_iter; |