From: Jose Dapena Paz Date: Thu, 5 Jul 2007 20:32:12 +0000 (+0000) Subject: * src/maemo/modest-msg-view-window.c: X-Git-Tag: git_migration_finished~2936 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=c44713650dd282b22438402073abbe46284fc01d * 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 --- 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))) {