aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-11-09 03:38:54 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-11-09 03:38:54 +0800
commitefdbfda6497ce49555dfa80a6e0d90d5f2ee6389 (patch)
tree5dc86fed2c2754bbb4396a4d4eb23ea61ac28124
parentcda65a33a1885e61cbaafb5e98e56c742a4828b0 (diff)
downloadgsoc2013-epiphany-efdbfda6497ce49555dfa80a6e0d90d5f2ee6389.tar.gz
gsoc2013-epiphany-efdbfda6497ce49555dfa80a6e0d90d5f2ee6389.tar.zst
gsoc2013-epiphany-efdbfda6497ce49555dfa80a6e0d90d5f2ee6389.zip
Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation looks
2003-11-08 Marco Pesenti Gritti <marco@gnome.org> * 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 ...
-rw-r--r--ChangeLog9
-rw-r--r--lib/widgets/ephy-tree-model-node.c2
-rw-r--r--src/ephy-completion-model.c2
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d18d28243..a301e2b3c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2003-11-08 Marco Pesenti Gritti <marco@gnome.org>
+ * 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 <marco@gnome.org>
+
* src/bookmarks/ephy-bookmarks-editor.c:
(ephy_bookmarks_editor_update_menu):
* src/ephy-history-window.c: (ephy_history_window_show),
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