Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86399 - mplayer && -gtk -> don't install useless menu entry
Summary: mplayer && -gtk -> don't install useless menu entry
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-23 09:08 UTC by Carsten Lohrke (RETIRED)
Modified: 2005-04-11 14:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mplayer.diff (mplayer.diff,619 bytes, patch)
2005-03-23 09:10 UTC, Carsten Lohrke (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2005-03-23 09:08:45 UTC
n/t
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-23 09:10:05 UTC
Created attachment 54258 [details, diff]
mplayer.diff
Comment 2 Philip Kovacs 2005-03-23 18:13:16 UTC
i use -gtk, but use all of the items you propose to delete.   by using zenity in a small wrapper script "mplayer-select" (below) and substituting gmplayer for mplayer-select in the .desktop file, i have a meaningful menu entry for this command-line program.

so my vote would be not to delete the extra items, sorry.

#!/bin/bash

FILE_TO_PLAY="$(zenity --file-selection --title="Select Media File to Play")"
if [ "$FILE_TO_PLAY" != "" ]; then
    exec mplayer "$FILE_TO_PLAY" -quiet
fi 
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-11 14:02:14 UTC
fixed in cvs, thanks for reporting