]> www.fi.muni.cz Git - evince.git/commitdiff
(set_document_page): unset has_selection when the page changes.
authorMartin Kretzschmar <martink@src.gnome.org>
Thu, 20 Jan 2005 22:04:37 +0000 (22:04 +0000)
committerMartin Kretzschmar <martink@src.gnome.org>
Thu, 20 Jan 2005 22:04:37 +0000 (22:04 +0000)
ChangeLog
shell/ev-view.c

index c194d8d7445ddc31d08dfce13927749badf090d1..b190b63f8c11dbe266249f0c85ec0e639c9c3a01 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-20  Martin Kretzschmar  <martink@gnome.org>
+
+       * shell/ev-view.c (set_document_page): unset has_selection when
+       the page changes.
+
 2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>
 
        * shell/ev-view.c: (ev_view_size_request), (ev_view_realize),
index 2ff80f18d4c35c11cdd3264aec71dd0452309557..b10790d5a29d55a417bc80c95a8e0cce0e451ad1 100644 (file)
@@ -1111,6 +1111,7 @@ set_document_page (EvView *view, int page)
                if (old_page != ev_document_get_page (view->document)) {
                        g_signal_emit (view, page_changed_signal, 0);
 
+                       view->has_selection = FALSE;
                        view->find_percent_complete = 0.0;
                        update_find_results (view);     
                }