Additional UCA Parameter: Number of selected files
Submitted by Connor Behan
Assigned to Jannis Pohlmann
Created attachment 3526 Adds two fields to the UCA appearance condition tab
In case the Thunar Actions vaporware plugin http://thunar.xfce.org/pwiki/projects/thunar-actions-plugin never comes out, this is something that can make UCA a bit more flexible. Some actions don't make sense if the number of files you apply them to is too large or too small. An example is the meld diff viewer suggested in http://thunar.xfce.org/pwiki/documentation/custom_actions. Meld let's you compare 2 files or 3 files... but not one or four. Therefore I have made a patch that lets you set upper and lower limits for the applicability of a user action.
Patch 3526, "Adds two fields to the UCA appearance condition tab":