Comment 6 for bug 1382977

Revision history for this message
In , Guido Berhoerster (gber) wrote :

Created attachment 5690
ensure thunar_file_list_get_applications() has the default application as the first element of the returned list

Nice find. Since thunar_file_list_get_applications() and its only consumer thunar_launcher_update_idle() are the only places that expect g_app_info_get_all_for_type() to have the default application as the first element, I don't think it's necessary to expose something like thunar_g_app_info_get_all_for_type(). Attached is a slightly revised patch that inlines the list reordering into thunar_file_list_get_applications().