! 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 !
Allow ThunarxRenamers to add custom actions to the context menu
Status:
CLOSED: FIXED
Severity:
enhancement

Comments

Description Benedikt Meurer editbugs 2006-03-24 01:32:46 CET
ThunarxRenamers should be able to add custom actions to the file context menu of the renamer dialog. For example, the media tag renamer might add an "Edit Tags", which allows the user to edit media tags on-the-fly.

Therefore a new virtual method get_actions() will be added to ThunarxRenamer, which works similar to the way the ThunarxMenuProvider methods work. And ThunarRenamerDialog will be extended to add these additional actions for the active renamer to the context menu.
Comment 1 Benedikt Meurer editbugs 2006-03-24 01:52:16 CET
Committed with revision 20526.

2006-03-24	Benedikt Meurer <benny@xfce.org>

	* thunarx/thunarx-renamer.{c,h}, thunarx/thunarx.symbols: Add new method
	  get_actions() to ThunarxRenamer, as discussed with Jannis, to allow
	  plugin writers to add custom actions to the renamers tree view
	  context menu (i.e. "Edit Tags" for the thunar-media-tag-plugin). First
	  part of bug #1602.
	* docs/reference/thunarx/: Update the API docs.
	* thunar/thunar-renamer-dialog.c(thunar_renamer_dialog_context_menu),
	  thunar/thunar-renamer-dialog-ui.xml: Add custom actions provided by
	  the active ThunarxRenamer to the file context menu in the renamer
	  dialog. Second part of bug #1602.

Bug #1602

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

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
0.2.3svn

Attachments

Additional information