diff options
author | dusanx <ef_dva@yahoo.com> | 2009-05-03 17:10:02 +0200 |
---|---|---|
committer | dusanx <ef_dva@yahoo.com> | 2009-05-03 17:10:02 +0200 |
commit | 2fc5928e22c1042918860f6e335ba36318f0ebfe (patch) | |
tree | d75e72a984965364b5dec15b132e4a371cebe32a /uzbl.c | |
parent | 1825c5b18e7369cf63025ea13ebcf898135bc65b (diff) |
Small search fix
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -392,11 +392,11 @@ load_uri (WebKitWebView * web_view, const gchar *param) { static void search_text (WebKitWebView *page, const char *param) { if ((param) && (param[0] != '\0')) { - printf("\nima param!!!\n"); strcpy(searchtx, param); } if (searchtx[0] != '\0') { - printf ("\n\nsearching: %s\n\n", searchtx); + printf ("Searching: %s\n", searchtx); + webkit_web_view_unmark_text_matches (page); webkit_web_view_mark_text_matches (page, searchtx, FALSE, 0); webkit_web_view_set_highlight_text_matches (page, TRUE); webkit_web_view_search_text (page, searchtx, FALSE, TRUE, TRUE); |