diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-08-07 13:57:53 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-08-07 13:57:53 (GMT) |
commit | 00f90e30c3a82cbb9ec91468d5186086603766f2 (patch) | |
tree | c95b452e9fc7d34bdff2d3ceb60b58ffcdc1fcc5 | |
parent | d3b9665412c1368abbe96453010efec923160de5 (diff) |
Reverse rotation/scale when getting max page width, fix drawing in dual mode.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | shell/ev-view.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2005-08-07 Nickolay V. Shmyrev <nshmyrev@yandex.ru> + + * shell/ev-view.c: (get_page_extents): reverse rotation/scale + when getting max_page_width, fix drawing in dual mode. + Sun Aug 7 02:06:08 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-view.c (ev_view_select_all): reverse rotation/page when diff --git a/shell/ev-view.c b/shell/ev-view.c index 9c01ca6..fe07f1d 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -813,8 +813,8 @@ get_page_extents (EvView *view, gint max_width; gint x, y; - ev_page_cache_get_max_width (view->page_cache, view->scale, - view->rotation, &max_width); + ev_page_cache_get_max_width (view->page_cache, view->rotation, + view->scale, &max_width); max_width = max_width + border->left + border->right; /* Get the location of the bounding box */ if (view->dual_page) { |