Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-05-07 10:16:03 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-05-07 10:16:03 (GMT)
commit2684c0efc4af084a1f9cb63b61cd94c1cbbc2e57 (patch)
tree2f13e86f845fb08ea1d296f62196c14ce5a62506 /shell
parent7a949ef059ba54c25ae74cb56742cda78e059a39 (diff)
Release 0.3.0
2005-05-07 Marco Pesenti Gritti <mpg@redhat.com> * NEWS: * configure.ac: Release 0.3.0 * data/evince-ui.xml: Hide presentation mode for now * shell/ev-view.c: (highlight_find_results): Show current find selection only on current page
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-view.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 450c4d4..ab2b872 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -900,7 +900,12 @@ highlight_find_results (EvView *view, int page)
GdkRectangle view_rectangle;
guchar alpha;
- alpha = (i == view->find_result) ? 0x90 : 0x20;
+ if (i == view->find_result && page == view->find_page) {
+ alpha = 0x90;
+ } else {
+ alpha = 0x20;
+ }
+
ev_document_find_get_result (find, page,
i, &rectangle);
doc_rect_to_view_rect (view, page, &rectangle, &view_rectangle);