Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view-private.h
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-12-25 21:40:07 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-12-25 21:40:07 (GMT)
commit147db949b1e422ce3e4fc2c948efbd74581bc311 (patch)
tree7eb2fe0698e4f26ad1e07289494f46f30b437836 /shell/ev-view-private.h
parenta71c2d133840d261ee229f6a2abe90aed9d0dee4 (diff)
Delay scroll until allocation to correctly position page. Fix for the bug
* shell/ev-view-private.h: * shell/ev-view.c: (scroll_to_current_page), (view_set_adjustment_values), (goto_fitr_link), (goto_fitv_link), (goto_fith_link), (goto_fit_link), (goto_xyz_link), (page_changed_cb), (ev_view_set_continuous), (ev_view_set_dual_page), (ev_view_set_presentation): Delay scroll until allocation to correctly position page. Fix for the bug #317334.
Diffstat (limited to 'shell/ev-view-private.h')
-rw-r--r--shell/ev-view-private.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/shell/ev-view-private.h b/shell/ev-view-private.h
index ef48e0b..91f4315 100644
--- a/shell/ev-view-private.h
+++ b/shell/ev-view-private.h
@@ -43,8 +43,8 @@ typedef struct {
typedef enum {
SCROLL_TO_KEEP_POSITION,
- SCROLL_TO_CURRENT_PAGE,
- SCROLL_TO_CENTER
+ SCROLL_TO_PAGE_POSITION,
+ SCROLL_TO_CENTER,
} PendingScroll;
typedef enum {
@@ -78,7 +78,8 @@ struct _EvView {
gint scroll_y;
PendingScroll pending_scroll;
- gboolean pending_resize;
+ gboolean pending_resize;
+ EvPoint pending_point;
/* Current geometry */