aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-08-31 17:56:04 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-01 02:34:02 +0800
commit7ca9e06178c842f4624b090f2e0dbf068a9f708f (patch)
tree97f3b4b6cb0f9f9e447dc8cc281be3b46ffcd1aa
parent8d96fd1b5631dab7783e860338f6f547626babf7 (diff)
downloadgsoc2013-epiphany-7ca9e06178c842f4624b090f2e0dbf068a9f708f.tar.gz
gsoc2013-epiphany-7ca9e06178c842f4624b090f2e0dbf068a9f708f.tar.zst
gsoc2013-epiphany-7ca9e06178c842f4624b090f2e0dbf068a9f708f.zip
ephy-embed-shell: load the new thumbnail frame and use it in the overview store
-rw-r--r--embed/ephy-embed-shell.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
index 99ed4f579..692962268 100644
--- a/embed/ephy-embed-shell.c
+++ b/embed/ephy-embed-shell.c
@@ -210,6 +210,7 @@ EphyFrecentStore *
ephy_embed_shell_get_frecent_store (EphyEmbedShell *shell)
{
GdkPixbuf *default_icon;
+ GdkPixbuf *frame;
g_return_val_if_fail (EPHY_IS_EMBED_SHELL (shell), NULL);
@@ -217,13 +218,16 @@ ephy_embed_shell_get_frecent_store (EphyEmbedShell *shell)
{
shell->priv->frecent_store = ephy_frecent_store_new ();
default_icon = ephy_embed_shell_get_overview_icon ("missing-thumbnail.png");
+ frame = ephy_embed_shell_get_overview_icon ("thumbnail-frame.png");
g_object_set (shell->priv->frecent_store,
"history-service",
ephy_embed_shell_get_global_history_service (shell),
"history-length", 10,
"default-icon", default_icon,
+ "icon-frame", frame,
NULL);
g_object_unref (default_icon);
+ g_object_unref (frame);
}
return shell->priv->frecent_store;