]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-page-action.h
Add Belarusian translation
[evince.git] / shell / ev-page-action.h
index 1695cb05536b11bb9f86579c17b0338016f2737f..c8b30ba6d279cfbcb2d18b1ef1d914624ea9d84c 100644 (file)
@@ -23,6 +23,8 @@
 #define EV_PAGE_ACTION_H
 
 #include <gtk/gtkaction.h>
+#include <gtk/gtktreemodel.h>
+#include <ev-document.h>
 
 G_BEGIN_DECLS
 
@@ -49,15 +51,18 @@ struct _EvPageActionClass
 {
        GtkActionClass parent_class;
 
-       void (* goto_page) (EvPageAction *page_action,
-                           int           page_number);
+       void     (* activate_link) (EvPageAction *page_action,
+                                   EvLink       *link);
+       gboolean (*activate_label) (EvPageAction *page_action,
+                                   char         *label);
 };
 
-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