]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-page-action.h
Format string is corrected, fixes bug #397129.
[evince.git] / shell / ev-page-action.h
index 1695cb05536b11bb9f86579c17b0338016f2737f..2908d3456dd9d97c8f47a777f83e6007531c494a 100644 (file)
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  *
  *  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>
  */
 
 #ifndef EV_PAGE_ACTION_H
 #define EV_PAGE_ACTION_H
 
 #include <gtk/gtkaction.h>
+#include <gtk/gtktreemodel.h>
+#include <ev-document.h>
 
 G_BEGIN_DECLS
 
 
 G_BEGIN_DECLS
 
@@ -49,15 +50,18 @@ struct _EvPageActionClass
 {
        GtkActionClass parent_class;
 
 {
        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,
+                                   const gchar  *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
 
 
 G_END_DECLS