Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.h
diff options
context:
space:
mode:
authorStanislav Slusny <slusnys@gmail.com>2006-02-20 23:49:38 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2006-02-20 23:49:38 (GMT)
commit92603d06e3606238f25df947fed3666c5814440d (patch)
tree31e29bea7bb5656a0a965af1d1ff41f2693578fc /shell/ev-view.h
parentaa44705ba0aace3c8ad210232a71310c598e4b67 (diff)
Fix for the bug 319133 - Find entry should allow text scroll.
2006-02-21 Stanislav Slusny <slusnys@gmail.com> * shell/eggfindbar.c: (egg_find_bar_class_init): * shell/eggfindbar.h: * shell/ev-view-accessible.c: (ev_view_accessible_idle_do_action): * shell/ev-view-private.h: * shell/ev-view.c: (add_scroll_binding_keypad), (ev_view_scroll), (ev_view_class_init), (ev_sizing_mode_get_type), (ev_scroll_type_get_type): * shell/ev-view.h: * shell/ev-window.c: (ev_window_cmd_scroll_forward), (ev_window_cmd_scroll_backward), (find_bar_scroll), (ev_window_init): Fix for the bug 319133 - Find entry should allow text scroll.
Diffstat (limited to 'shell/ev-view.h')
-rw-r--r--shell/ev-view.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/shell/ev-view.h b/shell/ev-view.h
index 0c0a862..90f5031 100644
--- a/shell/ev-view.h
+++ b/shell/ev-view.h
@@ -35,6 +35,9 @@ G_BEGIN_DECLS
#define EV_TYPE_SIZING_MODE (ev_sizing_mode_get_type())
#define EV_SIZING_MODE_CLASS (g_type_class_peek (EV_TYPE_SIZING_MODE))
+#define EV_TYPE_SCROLL_TYPE (ev_scroll_type_get_type())
+#define EV_SCROLL_TYPE_CLASS (g_type_class_peek (EV_TYPE_SCROLL_TYPE))
+
typedef struct _EvView EvView;
typedef struct _EvViewClass EvViewClass;
@@ -52,11 +55,17 @@ typedef enum {
typedef enum {
EV_SCROLL_PAGE_FORWARD,
- EV_SCROLL_PAGE_BACKWARD
+ EV_SCROLL_PAGE_BACKWARD,
+ EV_SCROLL_STEP_BACKWARD,
+ EV_SCROLL_STEP_FORWARD,
+ EV_SCROLL_STEP_DOWN,
+ EV_SCROLL_STEP_UP,
} EvScrollType;
GType ev_view_get_type (void) G_GNUC_CONST;
GType ev_sizing_mode_get_type (void) G_GNUC_CONST;
+GType ev_scroll_type_get_type (void) G_GNUC_CONST;
+
GtkWidget* ev_view_new (void);
void ev_view_set_document (EvView *view,
EvDocument *document);
@@ -124,7 +133,8 @@ void ev_view_show_cursor (EvView *view);
/* Navigation */
void ev_view_scroll (EvView *view,
- EvScrollType scroll);
+ EvScrollType scroll,
+ gboolean horizontal);
void ev_view_goto_link (EvView *view,
EvLink *link);
gboolean ev_view_next_page (EvView *view);