GNOME Bugzilla – Bug 300996
gtk_icon_view_select_path doesn't update cursor_item
Last modified: 2005-05-02 20:38:16 UTC
When programatically selecting some item in SINGLE or BROWSE mode via gtk_icon_view_select_path, the item specified by path is highlighted, but the cursor remains at the previously selected item. This is confusing and looks bogous. Therefore either the cursor_item should point on the activated item after calling select-path or there should be some API for modifying the cursor_item.
gtk_icon_view_select_path() only modifies the selection, not the cursor position. The patch in bug 148144 will add, among other things, gtk_icon_view_set_cursor()
Reopen if gtk_icon_view_set_cursor() is not suitable for your needs.