Mercurial > pidgin
diff pidgin/gtkconv.c @ 18311:6fa1bbf6b0a9
Allow the userlist to get focus, to allow keyboard navigation of it.
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 27 Jun 2007 20:42:04 +0000 |
parents | a3469318cf35 |
children | 36ac3285b092 |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Wed Jun 27 20:19:15 2007 +0000 +++ b/pidgin/gtkconv.c Wed Jun 27 20:42:04 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);