! 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 !
ThunarVfsMimeApplication should support Desktop Actions
Status:
CLOSED: FIXED
Severity:
enhancement
Product:
Thunar-vfs
Component:
General

Comments

Description Benedikt Meurer editbugs 2006-01-24 23:25:52 CET
The ThunarVfsMimeApplication class should be extended to support desktop actions.
Comment 1 Benedikt Meurer editbugs 2006-01-24 23:28:38 CET
Created attachment 418 
thunar-vfs-mime-action.h
Comment 2 Benedikt Meurer editbugs 2006-01-24 23:29:01 CET
Created attachment 419 
thunar-vfs-mime-action.c
Comment 3 Benedikt Meurer editbugs 2006-01-24 23:30:12 CET
The obvious problem with the thunar-vfs-mime-action.[ch] files is that a lot of
the code of ThunarVfsMimeApplication would be repeated for ThunarVfsMimeAction,
and since there's no interface/base class for these two, one needs different
code paths in the user interface to process them.
Comment 4 Benedikt Meurer editbugs 2006-02-05 23:33:08 CET
Committed with revision 19750.

2006-02-05	Benedikt Meurer <benny@xfce.org>

	* thunar-vfs/thunar-vfs-mime-action-private.h, thunar-vfs/Makefile.am,
	  thunar-vfs/thunar-vfs-mime-action.{c,h},thunar-vfs/thunar-vfs.symbols,
	  thunar-vfs/thunar-vfs-mime-handler-private.h, thunar-vfs/thunar-vfs.h,
	  thunar-vfs/thunar-vfs-mime-handler.{c,h},
	  thunar-vfs/thunar-vfs-mime-application.{c,h},
	  thunar-vfs/thunar-vfs-mime-database.c: Import ThunarVfsMimeAction
	  class to support desktop actions in Thunar. The abstract base class
	  ThunarVfsMimeHandler is used to avoid duplicating the existing code
	  for ThunarVfsMimeApplication in ThunarVfsMimeAction, and it will also
	  make it easier to handle both ThunarVfsMimeApplication's and
	  ThunarVfsMimeAction's in the user interface code. Bug #1374.

Bug #1374

Reported by:
Benedikt Meurer
Reported on: 2006-01-24
Last modified on: 2010-11-07

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
unspecified

Attachments

thunar-vfs-mime-action.h (2.84 KB, text/x-chdr)
2006-01-24 23:28 CET , Benedikt Meurer
no flags
thunar-vfs-mime-action.c (4.15 KB, text/x-csrc)
2006-01-24 23:29 CET , Benedikt Meurer
no flags

Additional information