From 57df208de1acaf93c60bd8401ec72a7d39f6ad9a Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Sat, 9 Jun 2007 09:20:20 +0000 Subject: [PATCH] Set points_set to TRUE so that selections don't disappear after a zoom 2007-06-09 Carlos Garcia Campos * shell/ev-pixbuf-cache.c (copy_job_to_job_info): Set points_set to TRUE so that selections don't disappear after a zoom change. svn path=/branches/gnome-2-18/; revision=2491 --- ChangeLog | 7 +++++++ shell/ev-pixbuf-cache.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index d5e46c89..2d4aaabc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-06-09 Carlos Garcia Campos + + * shell/ev-pixbuf-cache.c (copy_job_to_job_info): + + Set points_set to TRUE so that selections don't disappear + after a zoom change. + 2007-06-09 Nickolay V. Shmyrev * shell/ev-window.c: (ev_window_add_history): diff --git a/shell/ev-pixbuf-cache.c b/shell/ev-pixbuf-cache.c index dbabf1cd..285cae4e 100644 --- a/shell/ev-pixbuf-cache.c +++ b/shell/ev-pixbuf-cache.c @@ -449,6 +449,7 @@ copy_job_to_job_info (EvJobRender *job_render, job_info->selection_region = gdk_region_copy (job_render->selection_region); job_info->selection = g_object_ref (job_render->selection); g_assert (job_info->selection_points.x1 >= 0); + job_info->points_set = TRUE; } if (job_info->job) { -- 2.43.5