Bug 130953 - games-puzzle/angrydd: .desktop icon cleanup
Bug#: 130953 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P5
Resolution: FIXED Assigned To: games@gentoo.org Reported By: flameeyes@gentoo.org
Component: Games
URL: 
Summary: games-puzzle/angrydd: .desktop icon cleanup
Keywords:  
Status Whiteboard: 
Opened: 2006-04-23 04:06 0000
Description:   Opened: 2006-04-23 04:06 0000
(Games team: blame Mr_Bones for addicting me to this game :P)

Another little patch for .desktop enhancement, this time only needed the
ebuild.
The patch copies the angrydd.png icon (already shipped with the package and
installed in one of the game's directoreis) inside the two standard locations
(one for openbox, one for fdo), tells the .desktop to use only the "angrydd"
name (the .png will disallow themes from adding an angrydd.svg icon).

Finally, it also add a TryExec line, that will make the menu entry appear only
if angrydd is executable, that is, you're in games group.

HTH,
Diego

------- Comment #1 From Diego E. 'Flameeyes' Pettenò 2006-04-23 04:06:33 0000 -------
Created an attachment (id=85265) [details]
angrydd-ebuild.patch

------- Comment #2 From Chris Gianelloni (RETIRED) 2006-04-25 08:48:05 0000 -------
I just added the TryExec stuff to make_desktop_entry in eutils.eclass, since I
can see it being beneficial for all programs.

------- Comment #3 From Chris Gianelloni (RETIRED) 2006-04-25 08:57:25 0000 -------
Fixed in CVS