Most UCA commands will usually terminate right away while modifying certain aspects of the file or another file in the same folder (i.e. a "Convert to JPEG" action will usually just convert the selected files to JPEG files and terminate). The UCA plugin should watch the child commands and schedule a reload on the folder (using the ThunarVfsMonitor) when the command terminates.
Committed with revision 20653. 2006-03-30 Benedikt Meurer <benny@xfce.org> * thunar/thunar-folder.c: Reload the folder when the corresponding file changes. Use the ThunarFileMonitor to stay informed about changes to the corresponding rather than connecting additional signal handlers to the file. * plugins/thunar-uca/thunar-uca-provider.c: Schedule a "changed" event for the working directory once the custom command terminates. Bug #1625.