X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-page-action.h;h=c8b30ba6d279cfbcb2d18b1ef1d914624ea9d84c;hb=65c06150e05948eb7b056b0ec5cb9c364b652cfe;hp=295c3589c361650eae4e7e9f3151de60f4c97b01;hpb=5120e3dbe4ca81eb71136a8cde7c4b17f14f23a8;p=evince.git diff --git a/shell/ev-page-action.h b/shell/ev-page-action.h index 295c3589..c8b30ba6 100644 --- a/shell/ev-page-action.h +++ b/shell/ev-page-action.h @@ -23,6 +23,7 @@ #define EV_PAGE_ACTION_H #include +#include #include G_BEGIN_DECLS @@ -50,14 +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_document (EvPageAction *page_action, - EvDocument *document); - +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