diff -r 7b12c4d2c6d7 -r e3155594ea98 pidgin/gtkconv.c --- a/pidgin/gtkconv.c Fri Aug 17 00:28:50 2012 -0400 +++ b/pidgin/gtkconv.c Fri Aug 17 16:53:00 2012 +0200 @@ -339,7 +339,11 @@ conversation_entry_clear(PidginConversation *gtkconv) { GtkWebView *webview = GTK_WEBVIEW(gtkconv->entry); - gtk_webview_load_html_string(webview, ""); + + //XXX: hotfix for not focused entry after sending a message + //gtk_webview_load_html_string(webview, ""); + gtk_webview_load_html_string_with_selection(webview, "
"); + #if 0 /* TODO WebKit */ gtk_source_undo_manager_begin_not_undoable_action(webview->undo_manager); @@ -706,6 +710,7 @@ conversation_entry_clear(gtkconv); gtkconv_set_unseen(gtkconv, PIDGIN_UNSEEN_NONE); + gtk_widget_grab_focus(gtkconv->entry); // XXX: doesn't work } static void