From: Marco Pesenti Gritti Date: Sat, 7 May 2005 09:58:21 +0000 (+0000) Subject: Compute size of the actual page, not of the current one. X-Git-Tag: EVINCE_0_3_0~2 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=7a949ef059ba54c25ae74cb56742cda78e059a39;p=evince.git Compute size of the actual page, not of the current one. 2005-05-07 Marco Pesenti Gritti * shell/ev-view.c: (ev_view_select_all): Compute size of the actual page, not of the current one. --- diff --git a/ChangeLog b/ChangeLog index b2841411..e100624c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-05-07 Marco Pesenti Gritti + + * 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 * shell/ev-view.c: (clear_selection), (ev_view_finalize), diff --git a/shell/ev-view.c b/shell/ev-view.c index 0a007d2a..450c4d45 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;