From: <sa...@us...> - 2006-12-27 15:01:41
|
Revision: 18063 http://svn.sourceforge.net/gaim/?rev=18063&view=rev Author: sadrul Date: 2006-12-27 07:01:39 -0800 (Wed, 27 Dec 2006) Log Message: ----------- Make sure the selected item in the dropdown also has the keyboard focus. Modified Paths: -------------- trunk/gtk/gtkstatusbox.c Modified: trunk/gtk/gtkstatusbox.c =================================================================== --- trunk/gtk/gtkstatusbox.c 2006-12-27 13:34:33 UTC (rev 18062) +++ trunk/gtk/gtkstatusbox.c 2006-12-27 15:01:39 UTC (rev 18063) @@ -1309,8 +1309,7 @@ if (box->active_row) { GtkTreePath *path = gtk_tree_row_reference_get_path(box->active_row); - GtkTreeSelection *sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (box->tree_view)); - gtk_tree_selection_select_path(sel, path); + gtk_tree_view_set_cursor(GTK_TREE_VIEW(box->tree_view), path, NULL, FALSE); gtk_tree_path_free(path); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |