]> www.fi.muni.cz Git - evince.git/commitdiff
Reverse rotation/scale when getting max page width, fix drawing in dual mode.
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sun, 7 Aug 2005 13:57:53 +0000 (13:57 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Sun, 7 Aug 2005 13:57:53 +0000 (13:57 +0000)
ChangeLog
shell/ev-view.c

index c657cf9095979f2869b30b77a3632b5541103537..38d40cf00bb42bc6e957ea6844780836f97f21f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 9c01ca6eb0b686ed1b8cf9608521389d5f04d1f3..fe07f1dd9728611b440855c3b61a79d7cfbe3f4a 100644 (file)
@@ -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) {