! 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 !
Be more verbose for "Open" if possible
Status:
CLOSED: FIXED

Comments

Description Benedikt Meurer editbugs 2006-02-05 12:12:20 CET
Right now the context menu and "File" menu just says "Open" when you select a
file. There's absolutely no information contained in this action, which action
will be used to open the file. And this is pretty annoying.

The action should provide some information about itself. Nautilus does a good
job here (http://www.gnome.org/~jrb/files/mime/). It does indeed look ugly, but
it's way more usable.
Comment 1 Benedikt Meurer editbugs 2006-02-05 16:56:56 CET
*** Bug 1429 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen 2006-02-05 17:21:56 CET
Expected function:

http://hdr.unk.fi/~drac/thunar1.png

Instead of:

http://hdr.unk.fi/~drac/thunar2.png
Comment 3 Benedikt Meurer editbugs 2006-02-05 23:34:41 CET
Committed with revision 19750.

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

	* thunar/thunar-launcher.{c,h}, thunar/thunar-chooser-dialog.{c,h},
	  thunar/thunar-launcher-ui.xml, thunar/Makefile.am, 
	  thunar/thunar-standard-view-ui.xml, thunar/thunar-standard-view.c,
	  thunar/thunar-window-ui.xml, thunar/thunar-window.c: Replace the
	  previous ThunarLauncher class with a more advanced one, which has
	  access to the GtkUIManager. The new implementation also displays
	  which application will be used to open files, based on Jonathan
	  Blandfords suggestion for Nautilus. Bug #1428.
Comment 4 Benedikt Meurer editbugs 2006-02-05 23:40:04 CET
BTW: The suggested way to add "Enqueue in XYZ" and similar actions to the file
manager (actually limited to Thunar right now, since Nautilus and Konqueror do
not fully implement the desktop spec here) is to use so called "desktop
actions". These actions are added to the .desktop of the application providing
the action. For example, for xfmedia, there's the basic xfmedia.desktop:

[Desktop Entry]
Version=1.0
Type=Application
Encoding=UTF-8
Name=Xfmedia
Exec=xfmedia %F
Icon=xfmedia
...

Now, in order to add an "Enqueue" actions to the file, you add a key "Actions"
to the [Desktop Entry] group

Actions=Enqueue;

and add a new group [Desktop Entry Enqueue] to the end of the file

[Desktop Action Enqueue]
Exec=xfmedia-remote -a %f
Name=Enqueue in Xfmedia

and voila, Thunar will provide you with an "Enqueue in Xfmedia" action in the
file context menu, without any work-arounds using additional .desktop files.
Comment 5 Benedikt Meurer editbugs 2006-02-05 23:51:51 CET
The result will look like this:

http://foo-projects.org/~benny/tmp/desktop-actions.png
Comment 6 Samuli Suominen 2006-02-06 17:53:11 CET
Yeah, that did it! It's nice now. Thanks. :)

Bug #1428

Reported by:
Benedikt Meurer
Reported on: 2006-02-05
Last modified on: 2009-07-17
Duplicates (1):
  • 1429 By selecting multiple files, you lose "Open With.."

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
0.2.1svn

Attachments

Additional information