From efdbfda6497ce49555dfa80a6e0d90d5f2ee6389 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 8 Nov 2003 19:38:54 +0000 Subject: Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation looks 2003-11-08 Marco Pesenti Gritti * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_flags): * src/ephy-completion-model.c: (ephy_completion_model_get_flags): Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation looks already ok with it to me. Hopefully not missing something ... --- ChangeLog | 9 +++++++++ lib/widgets/ephy-tree-model-node.c | 2 +- src/ephy-completion-model.c | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d18d28243..a301e2b3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2003-11-08 Marco Pesenti Gritti + + * lib/widgets/ephy-tree-model-node.c: + (ephy_tree_model_node_get_flags): + * src/ephy-completion-model.c: (ephy_completion_model_get_flags): + + Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation + looks already ok with it to me. Hopefully not missing something ... + 2003-11-08 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks-editor.c: diff --git a/lib/widgets/ephy-tree-model-node.c b/lib/widgets/ephy-tree-model-node.c index eb7965acf..e8b8b45b8 100644 --- a/lib/widgets/ephy-tree-model-node.c +++ b/lib/widgets/ephy-tree-model-node.c @@ -490,7 +490,7 @@ ephy_tree_model_node_get_value (GtkTreeModel *tree_model, static guint ephy_tree_model_node_get_flags (GtkTreeModel *tree_model) { - return 0; + return GTK_TREE_MODEL_ITERS_PERSIST | GTK_TREE_MODEL_LIST_ONLY; } static gboolean diff --git a/src/ephy-completion-model.c b/src/ephy-completion-model.c index e09657607..ec5bd3aaf 100644 --- a/src/ephy-completion-model.c +++ b/src/ephy-completion-model.c @@ -412,7 +412,7 @@ ephy_completion_model_get_value (GtkTreeModel *tree_model, static guint ephy_completion_model_get_flags (GtkTreeModel *tree_model) { - return 0; + return GTK_TREE_MODEL_ITERS_PERSIST | GTK_TREE_MODEL_LIST_ONLY; } static gboolean -- cgit