* don't do a regexp-search when doing search-in-page.
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Wed, 25 Jul 2007 12:20:42 +0000 (12:20 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Wed, 25 Jul 2007 12:20:42 +0000 (12:20 +0000)
  this actually fixes #64261 when searching for "\", and
  the not-yet-discovered bug that we were doing regexp searches.

the crashing bug is actually in gtkhtml, will move the bug
  there.

pmo-trunk-r2791

src/widgets/modest-msg-view.c

index c3f5aff..fadf402 100644 (file)
@@ -1467,7 +1467,9 @@ modest_msg_view_search (ModestMsgView *self, const gchar *search)
        gtk_layout_set_vadjustment (GTK_LAYOUT (priv->gtkhtml), tmp_vadj);
        result = gtk_html_engine_search (GTK_HTML (priv->gtkhtml),
                                         search,
-                                        FALSE, TRUE, TRUE);
+                                        FALSE,   /* case sensitive */
+                                        TRUE,    /* forward */
+                                        FALSE);  /* regexp */
 
 // wait for the updated gtkhtml (w27) to enable this
 #if 0