Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index d8d48ab..ec23937 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -4074,11 +4074,13 @@ find_bar_visibility_changed_cb (EggFindBar *find_bar,
if (ev_window->priv->document &&
EV_IS_DOCUMENT_FIND (ev_window->priv->document)) {
- ev_view_set_highlight_search (EV_VIEW(ev_window->priv->view), visible);
- ev_view_search_changed (EV_VIEW(ev_window->priv->view));
+ ev_view_set_highlight_search (EV_VIEW (ev_window->priv->view), visible);
+ ev_view_search_changed (EV_VIEW (ev_window->priv->view));
ev_window_update_actions (ev_window);
- if (!visible)
+ if (visible)
+ find_bar_search_changed_cb (find_bar, NULL, ev_window);
+ else
egg_find_bar_set_status_text (EGG_FIND_BAR (ev_window->priv->find_bar), NULL);
}
}