epiphany r8112 - branches/gnome-2-22/src



Author: diegoe
Date: Sun Mar 16 20:56:08 2008
New Revision: 8112
URL: http://svn.gnome.org/viewvc/epiphany?rev=8112&view=rev

Log:
Revert the bookmark/history item no-dupes patch. It was slowing down ephy.



Modified:
   branches/gnome-2-22/src/ephy-location-action.c

Modified: branches/gnome-2-22/src/ephy-location-action.c
==============================================================================
--- branches/gnome-2-22/src/ephy-location-action.c	(original)
+++ branches/gnome-2-22/src/ephy-location-action.c	Sun Mar 16 20:56:08 2008
@@ -155,7 +155,6 @@
 	char *keywords = NULL;
 	gboolean ret = FALSE;
 	GtkTreeModel *model;
-	GtkTreeIter iter2;
 	EphyLocationActionPrivate *priv;
 	
 	priv = EPHY_LOCATION_ACTION (data)->priv;
@@ -202,17 +201,6 @@
 		}
 	}
 	
-	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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]