aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--src/ephy-history-window.c9
2 files changed, 14 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 2ce1af757..86bede8c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-10-20 Marco Pesenti Gritti <marco@gnome.org>
+
+ * src/ephy-history-window.c: (setup_filters),
+ (ephy_history_window_construct):
+
+ Make sure that both sites and hosts are filtered
+ on construct
+
2003-10-19 Marco Pesenti Gritti <marco@gnome.org>
* embed/downloader-view.c: (downloader_view_build_ui):
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 22e1d3b68..2350320be 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -930,6 +930,8 @@ setup_filters (EphyHistoryWindow *editor,
{
GDK_THREADS_ENTER ();
+ LOG ("Setup filters for pages %d and sites %d", pages, sites);
+
if (pages)
{
ephy_node_filter_empty (editor->priv->pages_filter);
@@ -1259,6 +1261,9 @@ ephy_history_window_construct (EphyHistoryWindow *editor)
gtk_container_add (GTK_CONTAINER (scrolled_window), sites_view);
gtk_widget_show (sites_view);
editor->priv->sites_view = sites_view;
+ editor->priv->selected_site = ephy_history_get_pages (editor->priv->history);
+ ephy_node_view_select_node (EPHY_NODE_VIEW (sites_view),
+ editor->priv->selected_site);
g_signal_connect (G_OBJECT (sites_view),
"node_selected",
@@ -1341,9 +1346,7 @@ ephy_history_window_construct (EphyHistoryWindow *editor)
130);
set_columns_visibility (editor, details_value);
-
- ephy_node_view_select_node (EPHY_NODE_VIEW (sites_view),
- ephy_history_get_pages (editor->priv->history));
+ setup_filters (editor, TRUE, TRUE);
}
void