[evince] window: Clear the find job when it finishes



commit a0c87e58eb3840a3bf4fca4d43fdb062ca798ebe
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Sun Aug 10 13:18:15 2014 +0200

    window: Clear the find job when it finishes

 shell/ev-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 97be028..613e994 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -369,6 +369,7 @@ static void     ev_window_setup_bookmarks               (EvWindow         *windo
 static void     ev_window_show_find_bar                 (EvWindow         *ev_window,
                                                         gboolean          restart);
 static void     ev_window_close_find_bar                (EvWindow         *ev_window);
+static void     ev_window_clear_find_job                (EvWindow         *ev_window);
 static void     ev_window_show_recent_view              (EvWindow         *ev_window);
 static void     ev_window_hide_recent_view              (EvWindow         *ev_window);
 static void     recent_view_item_activated_cb           (EvRecentView     *recent_view,
@@ -5172,6 +5173,7 @@ ev_window_find_job_finished_cb (EvJobFind *job,
                                EvWindow  *ev_window)
 {
        ev_window_update_find_status_message (ev_window);
+       ev_window_clear_find_job (ev_window);
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]