diff pidgin/gtkconv.c @ 18330:a6fa0249d7f7

merge of '27846e24a6f7b260a1e3c53e16e35180aa5a240c' and '64f522ee98f90529cdffd4be7cc7db4bc8930102'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 27 Jun 2007 22:20:28 +0000
parents 6fa1bbf6b0a9
children 36ac3285b092
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Wed Jun 27 22:18:07 2007 +0000
+++ b/pidgin/gtkconv.c	Wed Jun 27 22:20:28 2007 +0000
@@ -1749,6 +1749,9 @@
 
 	gtk_tree_selection_select_path(GTK_TREE_SELECTION(
 			gtk_tree_view_get_selection(GTK_TREE_VIEW(gtkchat->list))), path);
+	gtk_tree_view_set_cursor(GTK_TREE_VIEW(gtkchat->list),
+							 path, NULL, FALSE); 
+	gtk_widget_grab_focus(GTK_WIDGET(gtkchat->list));
 
 	gtk_tree_model_get_iter(GTK_TREE_MODEL(model), &iter, path);
 	gtk_tree_model_get(GTK_TREE_MODEL(model), &iter, CHAT_USERS_NAME_COLUMN, &who, -1);