From c44713650dd282b22438402073abbe46284fc01d Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Thu, 5 Jul 2007 20:32:12 +0000 Subject: [PATCH] * src/maemo/modest-msg-view-window.c: * (..._find_toolbar_search): invalidate search if there are no matches, just as we do with search complete (fixes NB#62257). pmo-trunk-r2602 --- src/maemo/modest-msg-view-window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/maemo/modest-msg-view-window.c b/src/maemo/modest-msg-view-window.c index ded5e35..d417495 100644 --- a/src/maemo/modest-msg-view-window.c +++ b/src/maemo/modest-msg-view-window.c @@ -786,6 +786,8 @@ modest_msg_view_window_find_toolbar_search (GtkWidget *widget, priv->last_search); if (!result) { hildon_banner_show_information (NULL, NULL, dgettext("hildon-libs", "ckct_ib_find_no_matches")); + g_free (priv->last_search); + priv->last_search = NULL; } } else { if (!modest_msg_view_search_next (MODEST_MSG_VIEW (priv->msg_view))) { -- 1.7.9.5