]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-navigation-action.h
Added figures by Fotis Tsamis
[evince.git] / shell / ev-navigation-action.h
index fe9b9d73094b969a0d7552ac3adea68f0563396c..1b73e26de0c09f67f2356a973d14ba81088b10fe 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.
  *
- *  $Id$
  */
 
 #ifndef EV_NAVIGATION_ACTION_H
 #define EV_NAVIGATION_ACTION_H
 
-#include <gtk/gtkaction.h>
+#include <gtk/gtk.h>
 
 #include "ev-history.h"
+#include "ev-link.h"
 
 G_BEGIN_DECLS
 
@@ -39,12 +39,6 @@ typedef struct _EvNavigationAction           EvNavigationAction;
 typedef struct _EvNavigationActionPrivate      EvNavigationActionPrivate;
 typedef struct _EvNavigationActionClass                EvNavigationActionClass;
 
-typedef enum
-{
-       EV_NAVIGATION_DIRECTION_BACK,
-       EV_NAVIGATION_DIRECTION_FORWARD
-} EvNavigationDirection;
-
 struct _EvNavigationAction
 {
        GtkAction parent;
@@ -56,6 +50,9 @@ struct _EvNavigationAction
 struct _EvNavigationActionClass
 {
        GtkActionClass parent_class;
+
+       void (* activate_link) (EvNavigationAction *action,
+                               EvLink             *link);
 };
 
 GType  ev_navigation_action_get_type           (void);