From 72fc0a73ea845307d6a109678952a0d07f6a1af4 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Sun, 28 Jan 2007 13:29:10 +0000 Subject: History finally works as expected. 2007-01-28 Nickolay V. Shmyrev * shell/ev-navigation-action.c: (activate_menu_item_cb), (ev_navigation_action_class_init): * shell/ev-navigation-action.h: * shell/ev-page-action.c: (activate_cb): * shell/ev-page-cache.c: (ev_page_cache_class_init), (ev_page_cache_set_current_page_history): * shell/ev-page-cache.h: * shell/ev-sidebar-thumbnails.c: (ev_sidebar_tree_selection_changed), (ev_sidebar_icon_selection_changed), (page_changed_cb): * shell/ev-view-private.h: * shell/ev-view.c: (ev_view_handle_link), (ev_view_class_init): * shell/ev-view.h: * shell/ev-window.c: (page_changed_cb), (history_changed_cb), (ev_window_setup_document), (ev_window_load_job_cb): * shell/ev-window.h: History finally works as expected. svn path=/trunk/; revision=2259 --- (limited to 'shell/ev-navigation-action.h') diff --git a/shell/ev-navigation-action.h b/shell/ev-navigation-action.h index c801c39..2ac5848 100644 --- a/shell/ev-navigation-action.h +++ b/shell/ev-navigation-action.h @@ -24,7 +24,7 @@ #include #include "ev-history.h" -#include "ev-window.h" +#include "ev-link.h" G_BEGIN_DECLS @@ -50,13 +50,14 @@ struct _EvNavigationAction struct _EvNavigationActionClass { GtkActionClass parent_class; + + void (* activate_link) (EvNavigationAction *action, + EvLink *link); }; GType ev_navigation_action_get_type (void); void ev_navigation_action_set_history (EvNavigationAction *action, EvHistory *history); -void ev_navigation_action_set_window (EvNavigationAction *action, - EvWindow *window); G_END_DECLS -- cgit v0.9.1