https://www.fi.muni.cz/~kas/git
/
evince.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8134adb
)
[libview] Don't change current page when rotating documents with different page sizes
author
Carlos Garcia Campos
<carlosgc@gnome.org>
Thu, 24 Sep 2009 14:05:18 +0000
(16:05 +0200)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Thu, 24 Sep 2009 14:05:18 +0000
(16:05 +0200)
Fixes bgo#595704.
libview/ev-view.c
patch
|
blob
|
history
diff --git
a/libview/ev-view.c
b/libview/ev-view.c
index 09bc4feb5e28aefbc3170e89e6b972c288cf4839..ee5d25824579b1d5b7e621a26a17fe89f566d7f8 100644
(file)
--- a/
libview/ev-view.c
+++ b/
libview/ev-view.c
@@
-5093,6
+5093,8
@@
ev_view_rotation_changed_cb (EvDocumentModel *model,
if (view->pixbuf_cache) {
ev_pixbuf_cache_clear (view->pixbuf_cache);
+ if (!ev_document_is_page_size_uniform (view->document))
+ view->pending_scroll = SCROLL_TO_PAGE_POSITION;
gtk_widget_queue_resize (GTK_WIDGET (view));
}