aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-history-window.c
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-03-08 00:53:19 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-03-08 05:17:54 +0800
commit7cc9e4a8e9d7a9ae063005e27bca383687b3084e (patch)
tree33233c810ad3cb87af2a8af55b65ef4981ed971a /src/ephy-history-window.c
parentda98a6a19c33c67692713bd3548adb007fc8178b (diff)
downloadgsoc2013-epiphany-7cc9e4a8e9d7a9ae063005e27bca383687b3084e.tar
gsoc2013-epiphany-7cc9e4a8e9d7a9ae063005e27bca383687b3084e.tar.gz
gsoc2013-epiphany-7cc9e4a8e9d7a9ae063005e27bca383687b3084e.tar.bz2
gsoc2013-epiphany-7cc9e4a8e9d7a9ae063005e27bca383687b3084e.tar.lz
gsoc2013-epiphany-7cc9e4a8e9d7a9ae063005e27bca383687b3084e.tar.xz
gsoc2013-epiphany-7cc9e4a8e9d7a9ae063005e27bca383687b3084e.tar.zst
gsoc2013-epiphany-7cc9e4a8e9d7a9ae063005e27bca383687b3084e.zip
ephy-host-store: add a clear() method
This adds always a default item "All sites" which, when selected, will show all urls in all hosts. https://bugzilla.gnome.org/show_bug.cgi?id=671575
Diffstat (limited to 'src/ephy-history-window.c')
-rw-r--r--src/ephy-history-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 90f18b1f1..b4036228f 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -1037,7 +1037,7 @@ on_get_hosts_cb (gpointer service,
hosts = (GList *) result_data;
selected_host = get_selected_host (window);
- gtk_list_store_clear (GTK_LIST_STORE (window->priv->hosts_store));
+ ephy_hosts_store_clear (EPHY_HOSTS_STORE (window->priv->hosts_store));
ephy_hosts_store_add_hosts (window->priv->hosts_store, hosts);
if (selected_host) {
ephy_hosts_view_select_host (EPHY_HOSTS_VIEW (window->priv->hosts_view),