Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-page-cache.c
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@yandex.ru>2007-01-28 20:43:21 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2007-01-28 20:43:21 (GMT)
commit4bb9bc83e2de5cd88fa2e3f81a7da6e7d81cbf99 (patch)
tree383ed65fe7f662c84084859ec42a655a1772f058 /shell/ev-page-cache.c
parent40bdbed8a127356fadf9790aa0b479854c1c1d22 (diff)
Implements another history variant
2007-01-28 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * NOTES: * backend/djvu/djvu-links.c: (djvu_links_get_links_model): * backend/pdf/ev-poppler.cc: * libdocument/ev-document-links.h: * libdocument/ev-link.c: (ev_link_get_page): * libdocument/ev-link.h: * shell/ev-history.c: (ev_history_init), (ev_history_class_init), (ev_history_add_link): * shell/ev-history.h: * shell/ev-navigation-action.c: (activate_menu_item_cb), (new_history_menu_item), (build_menu): * shell/ev-page-cache.c: (ev_page_cache_set_current_page_history): * shell/ev-sidebar-links.c: (create_loading_model), (print_section_cb), (ev_sidebar_links_construct), (fill_page_labels), (update_page_callback_foreach), (update_page_callback), (job_finished_callback): * shell/ev-view.c: (ev_view_handle_link): * shell/ev-window.c: (ev_window_find_chapter), (ev_window_add_history), (view_handle_link_cb), (history_changed_cb): Implements another history variant svn path=/trunk/; revision=2264
Diffstat (limited to 'shell/ev-page-cache.c')
-rw-r--r--shell/ev-page-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ev-page-cache.c b/shell/ev-page-cache.c
index 7ea0c0f..070df9d 100644
--- a/shell/ev-page-cache.c
+++ b/shell/ev-page-cache.c
@@ -341,8 +341,8 @@ ev_page_cache_set_current_page_history (EvPageCache *page_cache,
int page)
{
if (abs (page - page_cache->current_page) > 1)
- g_signal_emit (page_cache, signals [HISTORY_CHANGED], 0, page_cache->current_page);
-
+ g_signal_emit (page_cache, signals [HISTORY_CHANGED], 0, page);
+
ev_page_cache_set_current_page (page_cache, page);
}