filerchooser: Show Recent files in inverse order
When looking at Recent files in the file chooser, it makes more sense to show the recent files on top. This commit flips the sort order for that case.
This commit is contained in:
@@ -7110,6 +7110,10 @@ recent_sort_func (gconstpointer a,
|
||||
|
||||
result = time_sort_func (a, b, user_data);
|
||||
|
||||
/* Recent files should show most recently changed items first
|
||||
*/
|
||||
result = -result;
|
||||
|
||||
if (result == GTK_ORDERING_EQUAL)
|
||||
result = name_sort_func (a, b, user_data);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user