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: Alexander Sack
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: Mon, 13 Oct 2008 19:51:44 -0000

this is an upstream bug. the gnash viewer binary should start regardless
of having a argument or not. otherwise having this in the menu doesnt
make much sense.

** Changed in: gnash
       Status: Invalid => Triaged

** Changed in: gnash
   Importance: Undecided => Medium

** Changed in: gnash (Ubuntu)
       Status: New => Triaged

** Changed in: gnash (Ubuntu)
   Importance: Wishlist => Medium

-- 
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” source package in Ubuntu: Triaged
Status in “gnash” source 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]