Index: src/ephy-history-window.c
===================================================================
RCS file: /cvs/gnome/epiphany/src/ephy-history-window.c,v
retrieving revision 1.36
diff -u -p -r1.36 ephy-history-window.c
--- src/ephy-history-window.c	27 Jul 2003 13:10:55 -0000	1.36
+++ src/ephy-history-window.c	30 Jul 2003 13:50:32 -0000
@@ -608,17 +608,9 @@ ephy_history_window_node_activated_cb (G
 	g_return_if_fail (location != NULL);
 
 	window = EPHY_WINDOW (get_target_window (editor));
-	if (window != NULL)
-	{
-		ephy_window_load_url (EPHY_WINDOW (window), location);
-		gtk_window_present (GTK_WINDOW (window));
-	}
-	else
-	{
-		/* We have to create a browser window */
-		ephy_shell_new_tab (ephy_shell, NULL, NULL, location,
-				    EPHY_NEW_TAB_IN_NEW_WINDOW);
-	}
+	
+	ephy_shell_new_tab (ephy_shell, window, NULL, location,
+			    EPHY_NEW_TAB_OPEN_PAGE);
 }
 
 static void
Index: src/bookmarks/ephy-bookmarks-editor.c
===================================================================
RCS file: /cvs/gnome/epiphany/src/bookmarks/ephy-bookmarks-editor.c,v
retrieving revision 1.95
diff -u -p -r1.95 ephy-bookmarks-editor.c
--- src/bookmarks/ephy-bookmarks-editor.c	27 Jul 2003 13:10:56 -0000	1.95
+++ src/bookmarks/ephy-bookmarks-editor.c	30 Jul 2003 13:50:56 -0000
@@ -751,18 +751,9 @@ ephy_bookmarks_editor_node_activated_cb 
 	g_return_if_fail (location != NULL);
 
 	window = EPHY_WINDOW (get_target_window (editor));
-	if (window != NULL)
-	{
-		ephy_window_load_url (EPHY_WINDOW (window), location);
-		gtk_window_present (GTK_WINDOW (window));
-	}
-	else
-	{
-		/* We have to create a browser window */
-		ephy_shell_new_tab (ephy_shell, NULL, NULL, location,
-				    EPHY_NEW_TAB_OPEN_PAGE |
-				    EPHY_NEW_TAB_IN_NEW_WINDOW);
-	}
+
+	ephy_shell_new_tab (ephy_shell, window, NULL, location,
+			    EPHY_NEW_TAB_OPEN_PAGE);
 }
 
 static void
