diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2003-10-20 15:55:06 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2003-10-20 15:55:06 +0800 |
commit | 58dde9fa0c4d501a0d32de681f79b308e7603c64 (patch) | |
tree | ef741898c8ec6030015e8b8ac79a242e5739aa88 /src/ephy-history-window.c | |
parent | 97674b169b0c9762f4c3f526ec228d3a08afa327 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r-- | src/ephy-history-window.c | 9 |
1 files changed, 6 insertions, 3 deletions
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 |