aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-overview-store.h
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-08-30 21:22:42 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-01 02:34:03 +0800
commit67736b8c9a8917c522e7432bda74379f768ec501 (patch)
tree75d6bea1d634747a147c42176d6484af4c1f5184 /lib/widgets/ephy-overview-store.h
parent02542c5fd0fde31161b6fe64128e8bf0a029b028 (diff)
downloadgsoc2013-epiphany-67736b8c9a8917c522e7432bda74379f768ec501.tar
gsoc2013-epiphany-67736b8c9a8917c522e7432bda74379f768ec501.tar.gz
gsoc2013-epiphany-67736b8c9a8917c522e7432bda74379f768ec501.tar.bz2
gsoc2013-epiphany-67736b8c9a8917c522e7432bda74379f768ec501.tar.lz
gsoc2013-epiphany-67736b8c9a8917c522e7432bda74379f768ec501.tar.xz
gsoc2013-epiphany-67736b8c9a8917c522e7432bda74379f768ec501.tar.zst
gsoc2013-epiphany-67736b8c9a8917c522e7432bda74379f768ec501.zip
ephy-frecent-store: animate hiding of store items
Add a ephy_overview_store_animated_remove() that shrinks the thumbnail in a timeout until it's small enough and then removes it from the model.
Diffstat (limited to 'lib/widgets/ephy-overview-store.h')
-rw-r--r--lib/widgets/ephy-overview-store.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/widgets/ephy-overview-store.h b/lib/widgets/ephy-overview-store.h
index 05ad95e0d..f6201bf99 100644
--- a/lib/widgets/ephy-overview-store.h
+++ b/lib/widgets/ephy-overview-store.h
@@ -85,6 +85,18 @@ gboolean ephy_overview_store_needs_snapshot (EphyOverviewStore *store,
gboolean ephy_overview_store_remove (EphyOverviewStore *store,
GtkTreeIter *iter);
+
+typedef void (* EphyOverviewStoreAnimRemoveFunc) (EphyOverviewStore *store,
+ GtkTreeIter *iter,
+ gboolean valid,
+ gpointer user_data);
+
+void ephy_overview_store_animated_remove (EphyOverviewStore *store,
+ GtkTreeRowReference *ref,
+ EphyOverviewStoreAnimRemoveFunc func,
+ gpointer user_data);
+
+
gboolean ephy_overview_store_find_url (EphyOverviewStore *store,
const char *url,
GtkTreeIter *iter);