bug-gnash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnash] [Bug 84526] Re: Gnash menu launcher (/usr/share/applications


From: Launchpad Bug Tracker
Subject: [Bug-gnash] [Bug 84526] Re: Gnash menu launcher (/usr/share/applications/gnash.desktop file) doesn't start any application, also gnash isn't asociated with SWF mimetype
Date: Tue, 14 Jul 2009 13:58:14 -0000

** Branch linked: lp:ubuntu/karmic/gnash

-- 
Gnash menu launcher (/usr/share/applications/gnash.desktop file) doesn't start 
any application, also gnash isn't asociated with SWF mimetype
https://bugs.launchpad.net/bugs/84526
You received this bug notification because you are a member of Gnash
Team, which is subscribed to gnash.

Status in GNU Flash movie player: Triaged
Status in “gnash” package in Ubuntu: Fix Released
Status in “gnash” package in Baltix: Confirmed

Bug description:
Binary package hint: gnash

Currently no programs opens if user press on Gnash menu launcher ("Gnash SWF 
Viewer" in Applications->AudioVideo category, see 
/usr/share/applications/gnash.desktop file).
This is because in gnash.desktop is a line "Exec=/usr/bin/gnash", but when you 
run /usr/bin/gnash in terminal you see, that this command displays only help if 
started without arguments.

Simply solution would be to create a one-line shell script, which displays a 
file-selection dialog and starts gnash when user selects a file:

/usr/bin/gnash `zenity --title="Select a Flash (.swf) file to display" 
--file-selection`

Also there is missing a MimeType line in gnash.desktop - you should add this 
line:

MimeType=application/x-shockwave-flash;

I'm attaching fixed gnash.desktop file (Lithuanian translation is added as 
bonus ;) to this bugreport.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]