pidgin: 24c496b1: Fix searching in conversation windows.

qulogic at pidgin.im qulogic at pidgin.im
Fri Sep 9 03:11:38 EDT 2011


----------------------------------------------------------------------
Revision: 24c496b1d64c2b04a0ed62162f1e1a83ace867c2
Parent:   bbfac7ec0ce58ebdb50a7cc49f3160a355ee7c54
Author:   qulogic at pidgin.im
Date:     09/09/11 03:00:03
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/24c496b1d64c2b04a0ed62162f1e1a83ace867c2

Changelog: 

Fix searching in conversation windows.

Changes against parent bbfac7ec0ce58ebdb50a7cc49f3160a355ee7c54

  patched  pidgin/gtkconv.c

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	c7aeca76b335597909c1cc0d58353ca6493524fc
+++ pidgin/gtkconv.c	810313db88a910f426132633698ed2b7af3390cd
@@ -4875,7 +4875,7 @@ pidgin_conv_end_quickfind(PidginConversa
 {
 	gtk_widget_modify_base(gtkconv->quickfind.entry, GTK_STATE_NORMAL, NULL);
 
-	gtk_imhtml_search_clear(GTK_IMHTML(gtkconv->webview));
+	webkit_web_view_unmark_text_matches(WEBKIT_WEB_VIEW(gtkconv->webview));
 	gtk_widget_hide_all(gtkconv->quickfind.container);
 
 	gtk_widget_grab_focus(gtkconv->entry);
@@ -4888,7 +4888,7 @@ quickfind_process_input(GtkWidget *entry
 	switch (event->keyval) {
 		case GDK_Return:
 		case GDK_KP_Enter:
-			if (gtk_imhtml_search_find(GTK_IMHTML(gtkconv->webview), gtk_entry_get_text(GTK_ENTRY(entry)))) {
+			if (webkit_web_view_search_text(WEBKIT_WEB_VIEW(gtkconv->webview), gtk_entry_get_text(GTK_ENTRY(entry)), FALSE, TRUE, TRUE)) {
 				gtk_widget_modify_base(gtkconv->quickfind.entry, GTK_STATE_NORMAL, NULL);
 			} else {
 				GdkColor col;


More information about the Commits mailing list