aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-20 15:55:06 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-20 15:55:06 +0800
commit58dde9fa0c4d501a0d32de681f79b308e7603c64 (patch)
treeef741898c8ec6030015e8b8ac79a242e5739aa88
parent97674b169b0c9762f4c3f526ec228d3a08afa327 (diff)
downloadgsoc2013-epiphany-58dde9fa0c4d501a0d32de681f79b308e7603c64.tar
gsoc2013-epiphany-58dde9fa0c4d501a0d32de681f79b308e7603c64.tar.gz
gsoc2013-epiphany-58dde9fa0c4d501a0d32de681f79b308e7603c64.tar.bz2
gsoc2013-epiphany-58dde9fa0c4d501a0d32de681f79b308e7603c64.tar.lz
gsoc2013-epiphany-58dde9fa0c4d501a0d32de681f79b308e7603c64.tar.xz
gsoc2013-epiphany-58dde9fa0c4d501a0d32de681f79b308e7603c64.tar.zst
gsoc2013-epiphany-58dde9fa0c4d501a0d32de681f79b308e7603c64.zip
Make sure that both sites and hosts are filtered on construct
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
-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