Fix UI files opening in Directory Browser
This was happening because the Directory Browser used a priority of
G_MAXINT
for regular files, causing an integer overflow in the
comparator function here
(because some other plugins have negative
priorities).
Question: Should there be a set of predefined priorities that could be used? Something like HIGH
, REGULAR
, and FALLBACK
, so plugin writers don't have to look up what other plugins are using?