]> www.fi.muni.cz Git - evince.git/commitdiff
Compute size of the actual page, not of the current one.
authorMarco Pesenti Gritti <mpg@redhat.com>
Sat, 7 May 2005 09:58:21 +0000 (09:58 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Sat, 7 May 2005 09:58:21 +0000 (09:58 +0000)
2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>

        * shell/ev-view.c: (ev_view_select_all):

        Compute size of the actual page, not of
        the current one.

ChangeLog
shell/ev-view.c

index b2841411e3eb3461675912e752168e43f39f3c0b..e100624cc6aaadb55519597e49103818b6af0844 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
+
+       * shell/ev-view.c: (ev_view_select_all):
+
+       Compute size of the actual page, not of
+       the current one.
+
 2005-05-07  Marco Pesenti Gritti  <mpg@redhat.com>
 
        * shell/ev-view.c: (clear_selection), (ev_view_finalize),
index 0a007d2a9b1c558a696314a80ed8f5a7b05bdcfa..450c4d455031e70b1bc0c0a4ec98f0a966c766e2 100644 (file)
@@ -1034,10 +1034,7 @@ ev_view_select_all (EvView *view)
                EvViewSelection *selection;
 
                ev_page_cache_get_size (view->page_cache,
-                                       view->current_page,
-                                       1.0,
-                                       &width,
-                                       &height);
+                                       i, 1.0, &width, &height);
 
                selection = g_new0 (EvViewSelection, 1);
                selection->page = i;