Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 51b8abd..1d36a12 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -4340,7 +4340,10 @@ do_action_named (EvWindow *window, EvLinkAction *action)
static void
view_handle_link_cb (EvView *view, EvLink *link, EvWindow *window)
{
- ev_history_add_link (window->priv->history, link);
+ int current_page = ev_page_cache_get_current_page (window->priv->page_cache);
+ ev_history_add_page (window->priv->history,
+ current_page,
+ ev_page_cache_get_page_label (window->priv->page_cache, current_page));
}
static void