Hidden setting to disable versioned sorting.
Created attachment 1508
Patch to implement hidden setting MiscVersionCompare
Created attachment 1509
Patch to implement hidden setting MiscVersionCompare v2
Updated version of the previous patch.
- Initialize the model data.
- thunar-list-model now uses a global variable to determ whether to sort with version_compare. This way the setting is also used when sorting by group etc. and sort_by_version can be dropped. I'm not a fan of global vars, but in this case i think it's the cleanest solution and since the entire instance uses the same setting it shouldn't be a problem. The model still holds a boolean itself to check if it needs to call thunar_list_model_sort when thunar_list_model_set_version_compare is called.
- Remove unneeded spaces change.