Xfce Bug Tracker

Sub domains
 
ThunarVfsMimeApplication should support Desktop Actions
Status:
CLOSED: FIXED
Priority:
Medium
Severity:
enhancement
Product:
Thunar-vfs

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 [details]
thunar-vfs-mime-action.h
Comment 2 Benedikt Meurer editbugs 2006-01-24 23:29:01 CET
Created attachment 419 [details]
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.
Note You need to log in before you can comment on or make changes to this bug.

Bug #1374

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

People

Assignee:
Jannis Pohlmann
QA Contact:
Nick Schermer
CC List:
1 user show

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 Details
thunar-vfs-mime-action.c (4.15 KB, text/x-csrc)
2006-01-24 23:29 CET, Benedikt Meurer
no flags Details

Additional information