* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
- * $Id$
*/
#ifndef EV_PAGE_ACTION_H
#define EV_PAGE_ACTION_H
-#include <gtk/gtkaction.h>
+#include <gtk/gtk.h>
+
+#include <ev-document.h>
+#include "ev-link.h"
G_BEGIN_DECLS
{
GtkActionClass parent_class;
- void (* goto_page) (EvPageAction *page_action,
- int page_number);
+ void (* activate_link) (EvPageAction *page_action,
+ EvLink *link);
};
-GType ev_page_action_get_type (void);
-void ev_page_action_set_total_pages (EvPageAction *page_action,
- int total_pages);
-void ev_page_action_set_current_page (EvPageAction *page_action,
- int current_page);
+GType ev_page_action_get_type (void);
+void ev_page_action_set_document (EvPageAction *page_action,
+ EvDocument *document);
+void ev_page_action_set_model (EvPageAction *page_action,
+ GtkTreeModel *model);
+void ev_page_action_grab_focus (EvPageAction *page_action);
G_END_DECLS