aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <diegoe@src.gnome.org>2008-03-17 04:57:04 +0800
committerDiego Escalante Urrelo <diegoe@src.gnome.org>2008-03-17 04:57:04 +0800
commit37aa29f5c43a29c7ad0a56181409877686578435 (patch)
treee0ea91537468d8e516e35bd5b7219681b4dff94c
parentd548860413ac5cea45610bd4c846c846c1619ec7 (diff)
downloadgsoc2013-epiphany-37aa29f5c43a29c7ad0a56181409877686578435.tar
gsoc2013-epiphany-37aa29f5c43a29c7ad0a56181409877686578435.tar.gz
gsoc2013-epiphany-37aa29f5c43a29c7ad0a56181409877686578435.tar.bz2
gsoc2013-epiphany-37aa29f5c43a29c7ad0a56181409877686578435.tar.lz
gsoc2013-epiphany-37aa29f5c43a29c7ad0a56181409877686578435.tar.xz
gsoc2013-epiphany-37aa29f5c43a29c7ad0a56181409877686578435.tar.zst
gsoc2013-epiphany-37aa29f5c43a29c7ad0a56181409877686578435.zip
Revert the history/bookmark no-dup patch. It was slowing ephy.
svn path=/trunk/; revision=8113
-rw-r--r--src/ephy-location-action.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ephy-location-action.c b/src/ephy-location-action.c
index 38ffc47f1..99373f301 100644
--- a/src/ephy-location-action.c
+++ b/src/ephy-location-action.c
@@ -155,7 +155,6 @@ completion_func (GtkEntryCompletion *completion,
char *keywords = NULL;
gboolean ret = FALSE;
GtkTreeModel *model;
- GtkTreeIter iter2;
EphyLocationActionPrivate *priv;
priv = EPHY_LOCATION_ACTION (data)->priv;
@@ -202,17 +201,6 @@ completion_func (GtkEntryCompletion *completion,
}
}
- gtk_tree_model_sort_convert_iter_to_child_iter
- (GTK_TREE_MODEL_SORT (model), &iter2, iter);
-
- /* This checks if the item's URL exists as a bookmark, if that's true
- * and we are seeing an history item, then we skip showing it.
- * The bookmark will be shown instead since we are not filtering it out.
- */
- if (ephy_bookmarks_find_bookmark (priv->bookmarks, url) != NULL &&
- (iter2.user_data2 == priv->history))
- ret = FALSE;
-
g_free (item);
g_free (url);
g_free (keywords);