On Tuesday 30 January 2007 16:10, Jim Ramsay wrote:
> In other words, I propose that this function should probably do
> 'basename' on $exec before using it for the .desktop filename.

no ... the point of using $exec is to make sure the .desktop file is unique

i'll change it to sanitize the filename and turn them into underscores

> I propose an optional environment variable an ebuild can set before
> calling make_desktop_entry, called "DESKTOP_BASENAME", which would be
> the basename of the file (not including the .desktop suffix) that the
> function would use (if set) to create the file.

env vars to functions are lame

> 3 - Allow me to add other important settings like 'NoDisplay',
> 'OnlyShowIn', and/or 'MimeType'.

at this point, you might as well write your own .desktop file
-mike

Attachment: pgpSoHUlKA305.pgp
Description: PGP signature

Reply via email to