Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-05-07 09:58:21 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-05-07 09:58:21 (GMT)
commit7a949ef059ba54c25ae74cb56742cda78e059a39 (patch)
tree6d2adc6c14ec3f9d753127ddaf8fa53be9410b0c
parent3a84e1f8a6b3af671d7f21064342a689b678bd59 (diff)
Compute size of the actual page, not of the current one.
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.
-rw-r--r--ChangeLog7
-rw-r--r--shell/ev-view.c5
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b284141..e100624 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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),
(view_rect_to_doc_rect), (compute_selections),
(ev_view_bin_expose), (ev_view_select_all), (get_selected_text),
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 0a007d2..450c4d4 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -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;