diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-11-07 05:14:41 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-11-07 05:14:41 +0800 |
commit | 0997291f66dbb820c534a9a5cbf85ca75488db89 (patch) | |
tree | 3cd6dee329cc35570ad96d2a92777fde590bc64f /src | |
parent | c648b20ce71bb18054ca1b6bc6785adf59d4a576 (diff) | |
download | gsoc2013-epiphany-0997291f66dbb820c534a9a5cbf85ca75488db89.tar gsoc2013-epiphany-0997291f66dbb820c534a9a5cbf85ca75488db89.tar.gz gsoc2013-epiphany-0997291f66dbb820c534a9a5cbf85ca75488db89.tar.bz2 gsoc2013-epiphany-0997291f66dbb820c534a9a5cbf85ca75488db89.tar.lz gsoc2013-epiphany-0997291f66dbb820c534a9a5cbf85ca75488db89.tar.xz gsoc2013-epiphany-0997291f66dbb820c534a9a5cbf85ca75488db89.tar.zst gsoc2013-epiphany-0997291f66dbb820c534a9a5cbf85ca75488db89.zip |
Handle correctly last bookmark case
2003-11-06 Marco Pesenti Gritti <marco@gnome.org>
* src/ephy-completion-model.c: (ephy_completion_model_iter_next):
Handle correctly last bookmark case
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-completion-model.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/ephy-completion-model.c b/src/ephy-completion-model.c index 95bfe0e69..07f84ea88 100644 --- a/src/ephy-completion-model.c +++ b/src/ephy-completion-model.c @@ -496,9 +496,16 @@ ephy_completion_model_iter_next (GtkTreeModel *tree_model, root = get_node_root (model, node); next = ephy_node_get_next_child (root, node); - if (next == NULL && root == model->priv->history) + if (next == NULL) { - next = ephy_node_get_nth_child (model->priv->bookmarks, 0); + if (root == model->priv->history) + { + next = ephy_node_get_nth_child (model->priv->bookmarks, 0); + } + else + { + return FALSE; + } } iter->user_data = next; |