Mercurial > pidgin.yaz
changeset 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 | 9b3c2ba1a5c3 |
children | e92ae9e3d9fe |
files | pidgin/gtkconv.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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);