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=d47bc2205d248b34dbfcdd349473f54d45d5ec70;hp=1695cb05536b11bb9f86579c17b0338016f2737f;hpb=d1e23d13d52f06f2aba2ece7ff17091110d8a3bb;p=evince.git diff --git a/shell/ev-page-action.h b/shell/ev-page-action.h index 1695cb05..c8b30ba6 100644 --- a/shell/ev-page-action.h +++ b/shell/ev-page-action.h @@ -23,6 +23,8 @@ #define EV_PAGE_ACTION_H #include +#include +#include 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