! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Bulk Rename available from outside
Status:
CLOSED: FIXED
Severity:
enhancement

Comments

Description Benedikt Meurer editbugs 2006-03-21 21:11:47 CET
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.
Comment 1 Benedikt Meurer editbugs 2006-03-24 01:51:37 CET
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.
Comment 2 Benedikt Meurer editbugs 2006-03-24 13:10:33 CET
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.

Bug #1597

Reported by:
Benedikt Meurer
Reported on: 2006-03-21
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.2.3svn

Attachments

Additional information