Bulk rename should be available from outside Thunar using D-BUS to call into Thunar. When called from outside the application/user should be able to specify whether the renamer dialog should display "Add Files", "Remove Files", "Clear List" actions on top as toolbar. Also if this toolbar is visible, the dialog shouldn't close after the first rename, but simply turn "Cancel" into "Close" and allow the user to perform additional rename operations. Last, a nautilus plugin would be nice, simply invoking this functionality in Thunar. This way nautilus users will also benefit from the bulk rename, which was requested in GNOME very often.
Committed with revision 20526. 2006-03-24 Benedikt Meurer <benny@xfce.org> * thunar/thunar-file.{c,h}: Add wrapper method thunar_file_get_for_uri() which is a rather common operation. * thunar/thunar-dbus-service.c (thunar_dbus_service_parse_uri_and_display): Use the newly added method thunar_file_get_for_uri(). * thunar/thunar-launcher.c: If no current directory is set, directories will always be opened in new windows. * thunar/thunar-renamer-progress.{c,h}: Add support for explicit cancellation of the rename operation. * thunar/thunar-renamer-dialog-ui.xml,thunar/thunar-renamer-model.{c,h}, thunar/thunar-renamer-dialog.{c,h}, thunar/Makefile.am: Some polish on the dialog and the model. Allow users to add/remove files using the context menu. Add a standalone mode in which the bulk rename dialog appears as standalone application and which can be invoked through the D-BUS service. Bug #1597. * thunar/thunar-standard-view.c(thunar_standard_view_action_rename): Keep up with the ThunarRenamerDialog changes. * thunar/main.c, thunar/thunar-application.{c,h}, thunar/thunar-dbus-client.{c,h}, thunar/thunar-dbus-service-infos.xml, thunar/thunar-dbus-service.c: Add BulkRename() method to the D-BUS interface org.xfce.Thunar and add command line option -B to Thunar, which allows to open the bulk rename dialog directly. Bug #1597. * Thunar-folder-handler.desktop.in.in, Thunar.desktop.in.in, Makefile.am: Rearrange the .desktop file handling. * Makefile.am, Thunar-bulk-rename.desktop.in.in, ThunarBulkRename.in: Add launcher for the bulk rename utility. Bug #1597. The nautilus plugin may be added as example later, dunno.
Committed nautilus plugin example with revision 20528. 2006-03-24 Benedikt Meurer <benny@xfce.org> * examples/nautilus-bulk-rename.py, examples/Makefile.am: Add an ex- ample how to use Thunar Bulk Rename as Nautilus extension. Bug #1597.